Compare commits

...

39 commits
main ... 0.21.1

Author SHA1 Message Date
Sebastian Dröge 71bbcc00e2 Depend on 0.21.1 of the -sys crates where necessary 2023-10-04 10:24:59 +03:00
Sebastian Dröge 7d5f8e95bf gl: Don't autogenerate GL buffer pool configuration functions
These need manual bindings.
2023-10-04 10:24:59 +03:00
Sebastian Dröge c407ce825d Update CHANGELOG.md for 0.21.1 2023-10-04 10:17:15 +03:00
Sebastian Dröge 11699fda0f Update Cargo.lock 2023-10-04 10:13:54 +03:00
Sebastian Dröge 4e9b155b90 Update versions to 0.21.1 2023-10-04 10:13:26 +03:00
Sebastian Dröge 66a0e36e22 Update Cargo.lock
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:47:43 +03:00
Sebastian Dröge f525e7cea7 Drop 0.20 docs to reduce disk usage requirements
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/482

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:43:12 +03:00
Sebastian Dröge 6a41f4b9b5 ci: Build 0.21 docs and drop 0.19 docs
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:43:12 +03:00
Sebastian Dröge 44facc5a82 Regenerate with latest gir / gir-files / gst-gir-files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:42:05 +03:00
Sebastian Dröge 1a4a725793 Update gir-files to latest 0.18 branch
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:40:10 +03:00
Sebastian Dröge e1fd8b36c8 Update gir to latest 0.18 branch
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:39:54 +03:00
Sebastian Dröge 73a6aa1f26 Fix various new 1.73 clippy warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:39:42 +03:00
Guillaume Desmottes 6c6384e9cd gst-utils: prevent dead lock when requesting key unit
Sending the UpstreamForceKeyUnitEvent using gst_element_send_event()
internally takes the state lock. If appsink is pre-rolling we are also
holding the preroll lock.

This may result in a dead lock with the thread doing the state change as
this one takes the state lock and then the pre-roll lock.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:39:37 +03:00
Sebastian Dröge 3c7ace5451 gst: Add CustomMeta::register_simple()
As a wrapper around the 1.20 `gst_meta_register_custom()` instead of the
new 1.24 convenience function to make it available to more versions.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:39:31 +03:00
Sebastian Dröge fcad4e5aa3 app: Add max-bytes and max-time setters to the AppSink builder
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:39:25 +03:00
Sebastian Dröge 8c384e387a Update GStreamer gir files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:39:18 +03:00
Sebastian Dröge f8893ec6fb video: Fix ordering of video formats according to latest libgstvideo
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:39:12 +03:00
Sebastian Dröge acae1d6037 ci: Update to Rust 1.72.1
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:39:05 +03:00
Kalev Lember 4cefb512cd Add COPYRIGHT and LICENSE files as links into all gstreamer-gl crates
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:38:49 +03:00
Sebastian Dröge ee176b9b07 examples: Update to memmap2 0.8
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:38:44 +03:00
Arun Raghavan ac5eeb7259 Minor copy-pasto fix for gstreamer-validate description
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:38:37 +03:00
Sebastian Dröge f5dc2578fa ci: Run cargo-deny on the whole workspace with all features enabled
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:38:30 +03:00
Sebastian Dröge 2507d8262f deny: Update and skip examples / tutorials
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:38:25 +03:00
Sebastian Dröge 8c40e8b5b8 ci: Regenerate images to get new version of cargo-deny
The new version denies dependencies that include binary executables /
libraries.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:38:18 +03:00
Sebastian Dröge 411b1802ba Update GStreamer gir files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:38:05 +03:00
Sebastian Dröge c38dd726a7 Update indentation for rustfmt 1.72
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:37:36 +03:00
Sebastian Dröge 682d0a1ac6 ci: Update to Rust 1.72
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:37:31 +03:00
Sebastian Dröge d10b1b2722 Fix/silence various 1.72 clippy warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:37:08 +03:00
Sebastian Dröge b0e5419d7d examples: Update to windows 0.51
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:36:53 +03:00
Sebastian Dröge fd40a98f8c examples: Update to uds 0.4
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:36:45 +03:00
Tim-Philipp Müller f53b78a0cb tutorials: update old gstreamer-sdk media links
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1318>
2023-10-03 19:36:39 +03:00
Sebastian Dröge 5022d85b83 Switch to resolver = "2" for the workspace 2023-08-09 10:35:39 +03:00
Sebastian Dröge 639dbcd6bb Add Cargo.lock 2023-08-08 19:54:53 +03:00
Sebastian Dröge 7f773090ce Update CHANGELOG.md for 0.21.0 2023-08-08 19:23:40 +03:00
Sebastian Dröge cee6d20ad8 Add version = "0.21" to all local dependencies 2023-08-08 18:15:44 +03:00
Sebastian Dröge 9d8fbb7d7c Regenerate with 0.18 gir / gir-files 2023-08-08 17:51:48 +03:00
Sebastian Dröge 214f050a24 gir-files: Update to 0.18 branch 2023-08-08 17:51:23 +03:00
Sebastian Dröge 4988cc7bb2 gir: Update to 0.18 branch 2023-08-08 17:51:19 +03:00
Sebastian Dröge 5b928af1f5 Update dependencies to gtk-rs-core 0.18 branch 2023-08-08 17:51:16 +03:00
183 changed files with 4187 additions and 532 deletions

View file

@ -56,8 +56,7 @@ variables:
# latest release must be at the top
# (only relevant on main branch)
RELEASES:
0.20=0.20
0.19=0.19
0.21=0.21
stages:
- "trigger"
@ -366,7 +365,7 @@ deny:
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
script:
- cargo deny --color=always check
- cargo deny --color=always --workspace --all-features check all
gir-checks:
variables:

2962
Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,5 @@
[workspace]
resolver = "2"
default-members = [
"gstreamer/sys",

View file

@ -1,4 +1,4 @@
variables:
GST_RS_IMG_TAG: "2023-08-07.0"
GST_RS_STABLE: "1.71.1"
GST_RS_IMG_TAG: "2023-10-02.0"
GST_RS_STABLE: "1.72.1"
GST_RS_MSRV: "1.70.0"

View file

@ -1,3 +1,8 @@
exclude = [
"examples",
"tutorials",
]
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
@ -8,16 +13,7 @@ ignore = []
[licenses]
unlicensed = "deny"
allow = [
"Apache-2.0",
]
deny = [
"GPL-1.0",
"GPL-2.0",
"GPL-3.0",
"AGPL-1.0",
"AGPL-3.0",
]
default = "deny"
copyleft = "deny"
allow-osi-fsf-free = "either"
confidence-threshold = 0.8
@ -27,14 +23,6 @@ multiple-versions = "deny"
wildcards = "allow"
highlight = "all"
# Various cocoa crates are in the middle of updating to newer versions
[[bans.skip]]
name = "foreign-types"
version = "0.3"
[[bans.skip]]
name = "foreign-types-shared"
version = "0.1"
[sources]
unknown-registry = "deny"
unknown-git = "deny"
@ -46,8 +34,3 @@ allow-git = [
[[bans.skip]]
name = "syn"
version = "1.0"
# Various crates depend on an older version of bitflags
[[bans.skip]]
name = "bitflags"
version = "1.0"

View file

@ -1,46 +1,46 @@
[package]
name = "examples"
version = "0.21.0"
version = "0.21.1"
license = "MIT"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
edition = "2021"
rust-version = "1.70"
[dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-gl = { package = "gstreamer-gl", path = "../gstreamer-gl", optional = true }
gst-gl-egl = { package = "gstreamer-gl-egl", path = "../gstreamer-gl/egl", optional = true }
gst-gl-wayland = { package = "gstreamer-gl-wayland", path = "../gstreamer-gl/wayland", optional = true }
gst-gl-x11 = { package = "gstreamer-gl-x11", path = "../gstreamer-gl/x11", optional = true }
gst-app = { package = "gstreamer-app", path = "../gstreamer-app" }
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video" }
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils" }
gst-play = { package = "gstreamer-play", path = "../gstreamer-play", optional = true }
gst-player = { package = "gstreamer-player", path = "../gstreamer-player", optional = true }
ges = { package = "gstreamer-editing-services", path = "../gstreamer-editing-services", optional = true }
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp", optional = true }
gst-rtsp = { package = "gstreamer-rtsp", path = "../gstreamer-rtsp", optional = true }
gst-rtsp-server = { package = "gstreamer-rtsp-server", path = "../gstreamer-rtsp-server", optional = true }
gst-allocators = { package = "gstreamer-allocators", path = "../gstreamer-allocators", optional = true }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
gst-gl = { package = "gstreamer-gl", path = "../gstreamer-gl", version = "0.21", optional = true }
gst-gl-egl = { package = "gstreamer-gl-egl", path = "../gstreamer-gl/egl", version = "0.21", optional = true }
gst-gl-wayland = { package = "gstreamer-gl-wayland", path = "../gstreamer-gl/wayland", version = "0.21", optional = true }
gst-gl-x11 = { package = "gstreamer-gl-x11", path = "../gstreamer-gl/x11", version = "0.21", optional = true }
gst-app = { package = "gstreamer-app", path = "../gstreamer-app", version = "0.21" }
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio", version = "0.21" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base", version = "0.21" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", version = "0.21" }
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils", version = "0.21" }
gst-play = { package = "gstreamer-play", path = "../gstreamer-play", version = "0.21", optional = true }
gst-player = { package = "gstreamer-player", path = "../gstreamer-player", version = "0.21", optional = true }
ges = { package = "gstreamer-editing-services", path = "../gstreamer-editing-services", version = "0.21", optional = true }
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp", version = "0.21", optional = true }
gst-rtsp = { package = "gstreamer-rtsp", path = "../gstreamer-rtsp", version = "0.21", optional = true }
gst-rtsp-server = { package = "gstreamer-rtsp-server", path = "../gstreamer-rtsp-server", version = "0.21", optional = true }
gst-allocators = { package = "gstreamer-allocators", path = "../gstreamer-allocators", version = "0.21", optional = true }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18", optional = true }
anyhow = "1.0"
derive_more = "0.99.5"
futures = "0.3"
byte-slice-cast = "1"
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", features=["use_glib"], optional = true }
pango = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18", features=["use_glib"], optional = true }
pango = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18", optional = true }
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18", optional = true }
glutin = { version = "0.29", optional = true }
image = { version = "0.24", optional = true, default-features = false, features = ["png", "jpeg"] }
memmap2 = { version = "0.7", optional = true }
memmap2 = { version = "0.8", optional = true }
memfd = { version = "0.6", optional = true }
uds = { version = "0.2", optional = true }
uds = { version = "0.4", optional = true }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.48", features=["Win32_Graphics_Direct3D11",
windows = { version = "0.51", features=["Win32_Graphics_Direct3D11",
"Win32_Foundation", "Win32_Graphics_Direct3D", "Win32_Graphics_Dxgi",
"Win32_Graphics_Dxgi_Common", "Win32_Graphics_Direct2D",
"Win32_Graphics_Direct2D_Common", "Win32_Graphics_DirectWrite",

View file

@ -92,18 +92,18 @@ fn create_pipeline() -> Result<gst::Pipeline, Error> {
DWriteCreateFactory::<IDWriteFactory>(DWRITE_FACTORY_TYPE_SHARED).unwrap();
let text_format = dwrite_factory
.CreateTextFormat(
windows::w!("Arial"),
windows::core::w!("Arial"),
None,
DWRITE_FONT_WEIGHT_BOLD,
DWRITE_FONT_STYLE_NORMAL,
DWRITE_FONT_STRETCH_NORMAL,
32f32,
windows::w!("en-us"),
windows::core::w!("en-us"),
)
.unwrap();
let text_layout = dwrite_factory
.CreateTextLayout(
windows::w!("GStreamer").as_wide(),
windows::core::w!("GStreamer").as_wide(),
&text_format,
// Size will be updated later on "caps-changed" signal
800f32,

2
gir

@ -1 +1 @@
Subproject commit 1d1ce102e130a70684f90f411ee75b4e73f90beb
Subproject commit c7aa72a3e9f6f27d56a3e3ea9f836f2a4a90b5e2

@ -1 +1 @@
Subproject commit 060b114d8edb20c4041abb1e95acccb2cb2302be
Subproject commit 6415239ef4354633334410cfae108e64ae7ff708

@ -1 +1 @@
Subproject commit 8ea27b3f0b3316bdc3df48581820805b18473413
Subproject commit 962af2acaefdb7de5536cd3bfacedadd0bd3470f

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-allocators"
version = "0.21.0"
version = "0.21.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Allocators library"
@ -15,9 +15,9 @@ rust-version = "1.70"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-allocators-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
ffi = { package = "gstreamer-allocators-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -7,14 +7,19 @@ libc = "0.2"
[dependencies.glib]
git = "https://github.com/gtk-rs/gtk-rs-core"
package = "glib-sys"
branch = "0.18"
version = "0.18"
[dependencies.gobject]
git = "https://github.com/gtk-rs/gtk-rs-core"
package = "gobject-sys"
branch = "0.18"
version = "0.18"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.21"
[dev-dependencies]
shell-words = "1.0.0"
@ -43,7 +48,7 @@ name = "gstreamer-allocators-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
rust-version = "1.70"
version = "0.21.0"
version = "0.21.1"
[package.metadata.docs.rs]
all-features = true

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-app"
version = "0.21.0"
version = "0.21.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer App library"
@ -17,10 +17,10 @@ rust-version = "1.70"
futures-core = "0.3"
futures-sink = "0.3"
libc = "0.2"
ffi = { package = "gstreamer-app-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base" }
ffi = { package = "gstreamer-app-sys", path = "sys", version = "0.21.1" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base", version = "0.21" }
[dev-dependencies]
futures-util = { version = "0.3", features = ["sink"] }

View file

@ -1163,6 +1163,24 @@ impl AppSinkBuilder {
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn max_time(self, max_time: Option<gst::ClockTime>) -> Self {
Self {
builder: self.builder.property("max-time", max_time),
..self
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn max_bytes(self, max_bytes: u64) -> Self {
Self {
builder: self.builder.property("max-bytes", max_bytes),
..self
}
}
pub fn name(self, name: impl Into<glib::GString>) -> Self {
Self {
builder: self.builder.property("name", name.into()),

View file

@ -48,6 +48,22 @@ impl AppSink {
unsafe { ffi::gst_app_sink_get_max_buffers(self.to_glib_none().0) }
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_app_sink_get_max_bytes")]
#[doc(alias = "get_max_bytes")]
pub fn max_bytes(&self) -> u64 {
unsafe { ffi::gst_app_sink_get_max_bytes(self.to_glib_none().0) }
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_app_sink_get_max_time")]
#[doc(alias = "get_max_time")]
pub fn max_time(&self) -> Option<gst::ClockTime> {
unsafe { from_glib(ffi::gst_app_sink_get_max_time(self.to_glib_none().0)) }
}
#[doc(alias = "gst_app_sink_get_wait_on_eos")]
#[doc(alias = "get_wait_on_eos")]
pub fn is_wait_on_eos(&self) -> bool {
@ -121,6 +137,24 @@ impl AppSink {
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_app_sink_set_max_bytes")]
pub fn set_max_bytes(&self, max: u64) {
unsafe {
ffi::gst_app_sink_set_max_bytes(self.to_glib_none().0, max);
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "gst_app_sink_set_max_time")]
pub fn set_max_time(&self, max: impl Into<Option<gst::ClockTime>>) {
unsafe {
ffi::gst_app_sink_set_max_time(self.to_glib_none().0, max.into().into_glib());
}
}
#[doc(alias = "gst_app_sink_set_wait_on_eos")]
pub fn set_wait_on_eos(&self, wait: bool) {
unsafe {
@ -313,6 +347,64 @@ impl AppSink {
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "max-bytes")]
pub fn connect_max_bytes_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId {
unsafe extern "C" fn notify_max_bytes_trampoline<
F: Fn(&AppSink) + Send + Sync + 'static,
>(
this: *mut ffi::GstAppSink,
_param_spec: glib::ffi::gpointer,
f: glib::ffi::gpointer,
) {
let f: &F = &*(f as *const F);
f(&from_glib_borrow(this))
}
unsafe {
let f: Box_<F> = Box_::new(f);
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-bytes\0".as_ptr() as *const _,
Some(transmute::<_, unsafe extern "C" fn()>(
notify_max_bytes_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
}
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
#[doc(alias = "max-time")]
pub fn connect_max_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId {
unsafe extern "C" fn notify_max_time_trampoline<F: Fn(&AppSink) + Send + Sync + 'static>(
this: *mut ffi::GstAppSink,
_param_spec: glib::ffi::gpointer,
f: glib::ffi::gpointer,
) {
let f: &F = &*(f as *const F);
f(&from_glib_borrow(this))
}
unsafe {
let f: Box_<F> = Box_::new(f);
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-time\0".as_ptr() as *const _,
Some(transmute::<_, unsafe extern "C" fn()>(
notify_max_time_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
}
#[doc(alias = "wait-on-eos")]
pub fn connect_wait_on_eos_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -7,14 +7,18 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst_base]
package = "gstreamer-base-sys"
path = "../../gstreamer-base/sys"
version = "0.21"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.21"
[dev-dependencies]
shell-words = "1.0.0"
@ -41,7 +45,7 @@ license = "MIT"
name = "gstreamer-app-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -215,6 +215,12 @@ extern "C" {
pub fn gst_app_sink_get_drop(appsink: *mut GstAppSink) -> gboolean;
pub fn gst_app_sink_get_emit_signals(appsink: *mut GstAppSink) -> gboolean;
pub fn gst_app_sink_get_max_buffers(appsink: *mut GstAppSink) -> c_uint;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_app_sink_get_max_bytes(appsink: *mut GstAppSink) -> u64;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_app_sink_get_max_time(appsink: *mut GstAppSink) -> gst::GstClockTime;
pub fn gst_app_sink_get_wait_on_eos(appsink: *mut GstAppSink) -> gboolean;
pub fn gst_app_sink_is_eos(appsink: *mut GstAppSink) -> gboolean;
#[cfg(feature = "v1_20")]
@ -233,6 +239,12 @@ extern "C" {
pub fn gst_app_sink_set_drop(appsink: *mut GstAppSink, drop: gboolean);
pub fn gst_app_sink_set_emit_signals(appsink: *mut GstAppSink, emit: gboolean);
pub fn gst_app_sink_set_max_buffers(appsink: *mut GstAppSink, max: c_uint);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_app_sink_set_max_bytes(appsink: *mut GstAppSink, max: u64);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_app_sink_set_max_time(appsink: *mut GstAppSink, max: gst::GstClockTime);
pub fn gst_app_sink_set_wait_on_eos(appsink: *mut GstAppSink, wait: gboolean);
#[cfg(feature = "v1_20")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-audio"
version = "0.21.0"
version = "0.21.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Audio library"
@ -16,10 +16,10 @@ rust-version = "1.70"
[dependencies]
libc = "0.2"
cfg-if = "1.0"
ffi = { package = "gstreamer-audio-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base" }
ffi = { package = "gstreamer-audio-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base", version = "0.21" }
serde = { version = "1.0", optional = true }
[dev-dependencies]

View file

@ -160,7 +160,7 @@ impl AudioConverterConfig {
})
.collect::<Vec<_>>()
})
.unwrap_or_else(Vec::new)
.unwrap_or_default()
}
#[cfg(feature = "v1_22")]

View file

@ -148,13 +148,14 @@ impl str::FromStr for crate::AudioFormat {
}
impl PartialOrd for crate::AudioFormat {
#[inline]
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
crate::AudioFormatInfo::from_format(*self)
.partial_cmp(&crate::AudioFormatInfo::from_format(*other))
Some(self.cmp(other))
}
}
impl Ord for crate::AudioFormat {
#[inline]
fn cmp(&self, other: &Self) -> std::cmp::Ordering {
crate::AudioFormatInfo::from_format(*self).cmp(&crate::AudioFormatInfo::from_format(*other))
}

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -7,18 +7,24 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst_base]
package = "gstreamer-base-sys"
path = "../../gstreamer-base/sys"
version = "0.21"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.21"
[dev-dependencies]
shell-words = "1.0.0"
@ -45,7 +51,7 @@ license = "MIT"
name = "gstreamer-audio-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -2317,6 +2317,9 @@ extern "C" {
buf: *mut GstAudioRingBuffer,
position: *const GstAudioChannelPosition,
);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_audio_ring_buffer_set_errored(buf: *mut GstAudioRingBuffer);
pub fn gst_audio_ring_buffer_set_flushing(buf: *mut GstAudioRingBuffer, flushing: gboolean);
pub fn gst_audio_ring_buffer_set_sample(buf: *mut GstAudioRingBuffer, sample: u64);
pub fn gst_audio_ring_buffer_set_timestamp(

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-base"
version = "0.21.0"
version = "0.21.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Base library"
@ -16,9 +16,9 @@ rust-version = "1.70"
[dependencies]
cfg-if = "1.0"
libc = "0.2"
ffi = { package = "gstreamer-base-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
ffi = { package = "gstreamer-base-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
atomic_refcell = "0.1"
[dev-dependencies]

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -7,14 +7,19 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.21"
[dev-dependencies]
shell-words = "1.0.0"
@ -43,7 +48,7 @@ license = "MIT"
name = "gstreamer-base-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1706,6 +1706,22 @@ extern "C" {
pub fn gst_queue_array_pop_head_struct(array: *mut GstQueueArray) -> gpointer;
pub fn gst_queue_array_pop_tail(array: *mut GstQueueArray) -> gpointer;
pub fn gst_queue_array_pop_tail_struct(array: *mut GstQueueArray) -> gpointer;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_queue_array_push_sorted(
array: *mut GstQueueArray,
data: gpointer,
func: glib::GCompareDataFunc,
user_data: gpointer,
);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_queue_array_push_sorted_struct(
array: *mut GstQueueArray,
p_struct: gpointer,
func: glib::GCompareDataFunc,
user_data: gpointer,
);
pub fn gst_queue_array_push_tail(array: *mut GstQueueArray, data: gpointer);
pub fn gst_queue_array_push_tail_struct(array: *mut GstQueueArray, p_struct: gpointer);
#[cfg(feature = "v1_16")]
@ -1714,6 +1730,13 @@ extern "C" {
array: *mut GstQueueArray,
clear_func: glib::GDestroyNotify,
);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_queue_array_sort(
array: *mut GstQueueArray,
compare_func: glib::GCompareDataFunc,
user_data: gpointer,
);
pub fn gst_queue_array_new(initial_size: c_uint) -> *mut GstQueueArray;
pub fn gst_queue_array_new_for_struct(
struct_size: size_t,

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-check"
version = "0.21.0"
version = "0.21.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Check library"
@ -14,9 +14,9 @@ edition = "2021"
rust-version = "1.70"
[dependencies]
ffi = { package = "gstreamer-check-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
ffi = { package = "gstreamer-check-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -7,14 +7,19 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.21"
[dev-dependencies]
shell-words = "1.0.0"
@ -41,7 +46,7 @@ license = "MIT"
name = "gstreamer-check-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-controller"
version = "0.21.0"
version = "0.21.1"
authors = ["Alexey Galakhov <agalakhov@gmail.com>", "Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Controller library"
@ -14,9 +14,9 @@ edition = "2021"
rust-version = "1.70"
[dependencies]
ffi = { package = "gstreamer-controller-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
ffi = { package = "gstreamer-controller-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -8,14 +8,19 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.21"
[dev-dependencies]
shell-words = "1.0.0"
@ -42,7 +47,7 @@ license = "MIT"
name = "gstreamer-controller-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-editing-services"
version = "0.21.0"
version = "0.21.1"
authors = ["Thibault Saunier <tsaunier@igalia.com>", "Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Editing Services"
@ -15,12 +15,12 @@ rust-version = "1.70"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-editing-services-sys", path = "sys"}
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base" }
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils" }
ffi = { package = "gstreamer-editing-services-sys", path = "sys", version = "0.21"}
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base", version = "0.21" }
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils", version = "0.21" }
serde = { version = "1.0", optional = true }
[dev-dependencies]

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -7,22 +7,30 @@ libc = "0.2"
[dependencies.gio]
package = "gio-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst_pbutils]
package = "gstreamer-pbutils-sys"
path = "../../gstreamer-pbutils/sys"
version = "0.21"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.21"
[dev-dependencies]
shell-words = "1.0.0"
@ -49,7 +57,7 @@ license = "MIT"
name = "gstreamer-editing-services-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-gl"
version = "0.21.0"
version = "0.21.1"
authors = [
"Sebastian Dröge <sebastian@centricular.com>",
"Víctor M. Jáquez L. <vjaquez@igalia.com>"
@ -18,11 +18,11 @@ rust-version = "1.70"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-gl-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video" }
ffi = { package = "gstreamer-gl-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base", version = "0.21" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", version = "0.21" }
serde = { version = "1.0", optional = true }
[dev-dependencies]

View file

@ -120,6 +120,12 @@ status = "generate"
[[object.function]]
name = "buffer_pool_config_set_gl_allocation_params"
ignore = true
[[object.function]]
name = "buffer_pool_config_get_gl_min_free_queue_size"
ignore = true
[[object.function]]
name = "buffer_pool_config_set_gl_min_free_queue_size"
ignore = true
# Needs manual binding to be an extension on gst_video::VideoAffineTransformationMeta
[[object.function]]

1
gstreamer-gl/egl/COPYRIGHT Symbolic link
View file

@ -0,0 +1 @@
../../COPYRIGHT

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-gl-egl"
version = "0.21.0"
version = "0.21.1"
authors = [
"Sebastian Dröge <sebastian@centricular.com>",
"Víctor M. Jáquez L. <vjaquez@igalia.com>"
@ -18,11 +18,11 @@ rust-version = "1.70"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-gl-egl-sys", path = "sys" }
ffi = { package = "gstreamer-gl-egl-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../../gstreamer" }
gst-gl = { package = "gstreamer-gl", path = "../" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../../gstreamer", version = "0.21" }
gst-gl = { package = "gstreamer-gl", path = "../", version = "0.21" }
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -0,0 +1 @@
../../LICENSE-APACHE

View file

@ -0,0 +1 @@
../../LICENSE-MIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -0,0 +1 @@
../../../COPYRIGHT

View file

@ -9,7 +9,7 @@ license = "MIT"
name = "gstreamer-gl-egl-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"
@ -47,10 +47,13 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst_gl]
package = "gstreamer-gl-sys"
path = "../../sys"
version = "0.21"
[build-dependencies]
system-deps = "6"

View file

@ -0,0 +1 @@
../../../LICENSE-MIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -7,22 +7,29 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst_base]
package = "gstreamer-base-sys"
path = "../../gstreamer-base/sys"
version = "0.21"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.21"
[dependencies.gst_video]
package = "gstreamer-video-sys"
path = "../../gstreamer-video/sys"
version = "0.21"
[dev-dependencies]
shell-words = "1.0.0"
@ -49,7 +56,7 @@ license = "MIT"
name = "gstreamer-gl-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -2942,10 +2942,21 @@ extern "C" {
pub fn gst_buffer_pool_config_get_gl_allocation_params(
config: *mut gst::GstStructure,
) -> *mut GstGLAllocationParams;
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_buffer_pool_config_get_gl_min_free_queue_size(
config: *mut gst::GstStructure,
) -> c_uint;
pub fn gst_buffer_pool_config_set_gl_allocation_params(
config: *mut gst::GstStructure,
params: *const GstGLAllocationParams,
);
#[cfg(feature = "v1_24")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
pub fn gst_buffer_pool_config_set_gl_min_free_queue_size(
config: *mut gst::GstStructure,
queue_size: c_uint,
);
pub fn gst_context_get_gl_display(
context: *mut gst::GstContext,
display: *mut *mut GstGLDisplay,

View file

@ -0,0 +1 @@
../../COPYRIGHT

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-gl-wayland"
version = "0.21.0"
version = "0.21.1"
authors = [
"Sebastian Dröge <sebastian@centricular.com>",
"Víctor M. Jáquez L. <vjaquez@igalia.com>"
@ -18,11 +18,11 @@ rust-version = "1.70"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-gl-wayland-sys", path = "sys" }
ffi = { package = "gstreamer-gl-wayland-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../../gstreamer" }
gst-gl = { package = "gstreamer-gl", path = "../" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../../gstreamer", version = "0.21" }
gst-gl = { package = "gstreamer-gl", path = "../", version = "0.21" }
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -0,0 +1 @@
../../LICENSE-APACHE

View file

@ -0,0 +1 @@
../../LICENSE-MIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -0,0 +1 @@
../../../COPYRIGHT

View file

@ -9,7 +9,7 @@ license = "MIT"
name = "gstreamer-gl-wayland-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"
@ -47,10 +47,13 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst_gl]
package = "gstreamer-gl-sys"
path = "../../sys"
version = "0.21"
[build-dependencies]
system-deps = "6"

View file

@ -0,0 +1 @@
../../../LICENSE-MIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

1
gstreamer-gl/x11/COPYRIGHT Symbolic link
View file

@ -0,0 +1 @@
../../COPYRIGHT

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-gl-x11"
version = "0.21.0"
version = "0.21.1"
authors = [
"Sebastian Dröge <sebastian@centricular.com>",
"Víctor M. Jáquez L. <vjaquez@igalia.com>"
@ -18,11 +18,11 @@ rust-version = "1.70"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-gl-x11-sys", path = "sys" }
ffi = { package = "gstreamer-gl-x11-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../../gstreamer" }
gst-gl = { package = "gstreamer-gl", path = "../" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../../gstreamer", version = "0.21" }
gst-gl = { package = "gstreamer-gl", path = "../", version = "0.21" }
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -0,0 +1 @@
../../LICENSE-APACHE

View file

@ -0,0 +1 @@
../../LICENSE-MIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -0,0 +1 @@
../../../COPYRIGHT

View file

@ -9,7 +9,7 @@ license = "MIT"
name = "gstreamer-gl-x11-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"
@ -47,10 +47,13 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst_gl]
package = "gstreamer-gl-sys"
path = "../../sys"
version = "0.21"
[build-dependencies]
system-deps = "6"

View file

@ -0,0 +1 @@
../../../LICENSE-MIT

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-mpegts"
version = "0.21.0"
version = "0.21.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>", "Rafael Caricio <rafael@caricio.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer MpegTs library"
@ -14,9 +14,9 @@ edition = "2021"
rust-version = "1.70"
[dependencies]
ffi = { package = "gstreamer-mpegts-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
ffi = { package = "gstreamer-mpegts-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -9,7 +9,7 @@ license = "MIT"
name = "gstreamer-mpegts-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"
@ -49,14 +49,18 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst_base]
package = "gstreamer-base-sys"
path = "../../gstreamer-base/sys"
version = "0.21"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.21"
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-net"
version = "0.21.0"
version = "0.21.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Net library"
@ -14,10 +14,10 @@ edition = "2021"
rust-version = "1.70"
[dependencies]
ffi = { package = "gstreamer-net-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }
ffi = { package = "gstreamer-net-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -7,14 +7,19 @@ libc = "0.2"
[dependencies.gio]
package = "gio-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.21"
[dev-dependencies]
shell-words = "1.0.0"
@ -41,7 +46,7 @@ license = "MIT"
name = "gstreamer-net-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-pbutils"
version = "0.21.0"
version = "0.21.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Base Utils library"
@ -15,11 +15,11 @@ rust-version = "1.70"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-pbutils-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video" }
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio" }
ffi = { package = "gstreamer-pbutils-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", version = "0.21" }
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio", version = "0.21" }
thiserror = "1.0"
serde = { version = "1.0", optional = true }

View file

@ -29,7 +29,7 @@ pub trait AudioVisualizerExtManual:
fn set_req_spf(&self, spf: u32, token: &AudioVisualizerSetupToken) {
assert_eq!(
self.as_ptr() as *mut ffi::GstAudioVisualizer,
token.0.as_ptr() as *mut ffi::GstAudioVisualizer
token.0.as_ptr()
);
let sinkpad = self.static_pad("sink").expect("sink pad presence");

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -37,7 +37,7 @@ pub trait AudioVisualizerImplExt: sealed::Sealed + ObjectSubclass {
fn parent_setup(&self, token: &AudioVisualizerSetupToken) -> Result<(), LoggableError> {
assert_eq!(
self.obj().as_ptr() as *mut ffi::GstAudioVisualizer,
token.0.as_ptr() as *mut ffi::GstAudioVisualizer
token.0.as_ptr()
);
unsafe {

View file

@ -7,22 +7,29 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst_audio]
package = "gstreamer-audio-sys"
path = "../../gstreamer-audio/sys"
version = "0.21"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.21"
[dependencies.gst_video]
package = "gstreamer-video-sys"
path = "../../gstreamer-video/sys"
version = "0.21"
[dev-dependencies]
shell-words = "1.0.0"
@ -49,7 +56,7 @@ license = "MIT"
name = "gstreamer-pbutils-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-play"
version = "0.21.0"
version = "0.21.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Play library"
@ -15,10 +15,10 @@ rust-version = "1.70"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-play-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer", features = ["v1_20"] }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", features = ["v1_20"] }
ffi = { package = "gstreamer-play-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21", features = ["v1_20"] }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", version = "0.21", features = ["v1_20"] }
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -7,18 +7,24 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.21"
[dependencies.gst_video]
package = "gstreamer-video-sys"
path = "../../gstreamer-video/sys"
version = "0.21"
[dev-dependencies]
shell-words = "1.0.0"
@ -42,7 +48,7 @@ license = "MIT"
name = "gstreamer-play-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-player"
version = "0.21.0"
version = "0.21.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Player library"
@ -15,10 +15,10 @@ rust-version = "1.70"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-player-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video" }
ffi = { package = "gstreamer-player-sys", path = "sys", version = "0.21" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", version = "0.21" }
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

View file

@ -7,18 +7,24 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.18"
version = "0.18"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.21"
[dependencies.gst_video]
package = "gstreamer-video-sys"
path = "../../gstreamer-video/sys"
version = "0.21"
[dev-dependencies]
shell-words = "1.0.0"
@ -45,7 +51,7 @@ license = "MIT"
name = "gstreamer-player-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.21.0"
version = "0.21.1"
edition = "2021"
rust-version = "1.70"

View file

@ -1,3 +1,3 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1d1ce102e130)
from gir-files (https://github.com/gtk-rs/gir-files @ 060b114d8edb)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 8ea27b3f0b33)
Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6)
from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435)
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd)

Some files were not shown because too many files have changed in this diff Show more