Compare commits

...

11 commits
main ... 0.20.1

Author SHA1 Message Date
Sebastian Dröge 8afac7d31b Update CHANGELOG.md for 0.20.1 2023-02-13 15:02:29 +02:00
Sebastian Dröge dabfc8d181 Update versions to 0.20.1 2023-02-13 15:02:29 +02:00
Sebastian Dröge d1cc1b6715 video: Don't leak the gst::Buffer when converting a VideoFrame into an ffi::GstVideoFrame
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1220>
2023-02-13 14:35:38 +02:00
Sebastian Dröge bc3e1404d6 video: Don't forget to unmap the VideoFrame when converting into a gst::Buffer
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1220>
2023-02-13 14:35:37 +02:00
Sebastian Dröge 2354cd6c4f audio: Don't forget to unmap the AudioBuffer and drop the Box when converting into a gst::Buffer
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1220>
2023-02-13 14:35:35 +02:00
Sebastian Dröge 6cb469934d Revert "Add support for inline variable names in error/warning/info message creation macros"
This reverts commit 6bd559f5b5. It breaks
backwards compatibility as it makes it impossible to use a `&String` or
`&str` as debug message and only allows for string literals or format
strings plus arguments.
2023-02-13 11:40:55 +02:00
Sebastian Dröge 6bd559f5b5 Add support for inline variable names in error/warning/info message creation macros
Simply by removing the special-casing of string literals, which doesn't
really bring any improvements here.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/442

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1218>
2023-02-13 11:00:09 +02:00
Sebastian Dröge 66453fdc02 ci: Don't run cargo update on the stable branch 2023-02-11 20:15:46 +02:00
Sebastian Dröge e901266415 Add Cargo.lock 2023-02-10 00:15:55 +02:00
Sebastian Dröge 8a02757434 Add 0.20 version to all local dependencies 2023-02-09 23:53:05 +02:00
Sebastian Dröge 2db1198311 Update to 0.17 branch of gtk-rs-core and gtk3-rs 2023-02-09 23:48:32 +02:00
57 changed files with 3681 additions and 191 deletions

View file

@ -96,13 +96,6 @@ trigger:
before_script:
- source ./ci/env.sh
- mkdir .cargo && echo -e "[net]\ngit-fetch-with-cli = true" > .cargo/config
# If cargo exists assume we probably will want to update
# the lockfile
- |
if command -v cargo; then
cargo generate-lockfile --color=always
cargo update --color=always
fi
.debian:11-base:
extends: .debian:11

3343
Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,40 +1,40 @@
[package]
name = "examples"
version = "0.20.0"
version = "0.20.1"
license = "MIT"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
edition = "2021"
rust-version = "1.64"
[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 }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
gst-gl = { package = "gstreamer-gl", path = "../gstreamer-gl", version = "0.20", optional = true }
gst-gl-egl = { package = "gstreamer-gl-egl", path = "../gstreamer-gl/egl", version = "0.20", optional = true }
gst-gl-wayland = { package = "gstreamer-gl-wayland", path = "../gstreamer-gl/wayland", version = "0.20", 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 }
gtk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true }
gdk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
gst-app = { package = "gstreamer-app", path = "../gstreamer-app", version = "0.20" }
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio", version = "0.20" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base", version = "0.20" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", version = "0.20" }
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils", version = "0.20" }
gst-play = { package = "gstreamer-play", path = "../gstreamer-play", version = "0.20", optional = true }
gst-player = { package = "gstreamer-player", path = "../gstreamer-player", version = "0.20", optional = true }
ges = { package = "gstreamer-editing-services", path = "../gstreamer-editing-services", version = "0.20", optional = true }
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp", version = "0.20", optional = true }
gst-rtsp = { package = "gstreamer-rtsp", path = "../gstreamer-rtsp", version = "0.20", optional = true }
gst-rtsp-server = { package = "gstreamer-rtsp-server", path = "../gstreamer-rtsp-server", version = "0.20", optional = true }
gst-allocators = { package = "gstreamer-allocators", path = "../gstreamer-allocators", version = "0.20", optional = true }
gtk = { git = "https://github.com/gtk-rs/gtk3-rs", branch = "0.17", version = "0.17.0", optional = true }
gdk = { git = "https://github.com/gtk-rs/gtk3-rs", branch = "0.17", version = "0.17.0", optional = true }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17.0", 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.17", version = "0.17.0", features=["use_glib"], optional = true }
pango = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17.0", optional = true }
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17.0", optional = true }
glutin = { version = "0.29", optional = true }
once_cell = "1.0"
image = { version = "0.24", optional = true }

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-allocators"
version = "0.20.0"
version = "0.20.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Allocators library"
@ -16,9 +16,9 @@ rust-version = "1.64"
[dependencies]
libc = "0.2"
bitflags = "1.0"
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.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
once_cell = "1.0"
[dev-dependencies]

View file

@ -6,15 +6,20 @@ libc = "0.2"
[dependencies.glib]
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
package = "glib-sys"
[dependencies.gobject]
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
package = "gobject-sys"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[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.64"
version = "0.20.0"
version = "0.20.1"
[package.metadata.docs.rs]
features = ["dox"]

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-app"
version = "0.20.0"
version = "0.20.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer App library"
@ -18,10 +18,10 @@ futures-core = "0.3"
futures-sink = "0.3"
bitflags = "1.0"
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.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base", version = "0.20" }
once_cell = "1.0"
[dev-dependencies]

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.17"
version = "0.17"
[dependencies.gst_base]
package = "gstreamer-base-sys"
path = "../../gstreamer-base/sys"
version = "0.20"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-audio"
version = "0.20.0"
version = "0.20.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Audio library"
@ -17,10 +17,10 @@ rust-version = "1.64"
libc = "0.2"
cfg-if = "1.0"
bitflags = "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.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base", version = "0.20" }
once_cell = "1.0"
serde = { version = "1.0", optional = true }

View file

@ -37,7 +37,14 @@ impl<T> AudioBuffer<T> {
#[inline]
pub fn into_buffer(self) -> gst::Buffer {
unsafe { ptr::read(&mem::ManuallyDrop::new(self).buffer) }
unsafe {
let mut s = mem::ManuallyDrop::new(self);
let buffer = ptr::read(&s.buffer);
ffi::gst_audio_buffer_unmap(&mut *s.audio_buffer);
ptr::drop_in_place(&mut s.audio_buffer);
buffer
}
}
#[inline]

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.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst_base]
package = "gstreamer-base-sys"
path = "../../gstreamer-base/sys"
version = "0.20"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-base"
version = "0.20.0"
version = "0.20.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Base library"
@ -17,9 +17,9 @@ rust-version = "1.64"
cfg-if = "1.0"
libc = "0.2"
bitflags = "1.0"
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.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
atomic_refcell = "0.1"
[dev-dependencies]

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.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-check"
version = "0.20.0"
version = "0.20.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Check library"
@ -15,9 +15,9 @@ rust-version = "1.64"
[dependencies]
bitflags = "1.0"
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.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
[dev-dependencies]
gir-format-check = "0.1"

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.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-controller"
version = "0.20.0"
version = "0.20.1"
authors = ["Alexey Galakhov <agalakhov@gmail.com>", "Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Controller library"
@ -16,9 +16,9 @@ rust-version = "1.64"
[dependencies]
bitflags = "1.0"
once_cell = "1.0"
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.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
[dev-dependencies]
gir-format-check = "0.1"

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.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-editing-services"
version = "0.20.0"
version = "0.20.1"
authors = ["Thibault Saunier <tsaunier@igalia.com>", "Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Editing Services"
@ -16,12 +16,12 @@ rust-version = "1.64"
[dependencies]
libc = "0.2"
bitflags = "1.0"
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.20"}
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base", version = "0.20" }
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils", version = "0.20" }
serde = { version = "1.0", optional = true }
[dev-dependencies]

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.17"
version = "0.17"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst_pbutils]
package = "gstreamer-pbutils-sys"
path = "../../gstreamer-pbutils/sys"
version = "0.20"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-gl"
version = "0.20.0"
version = "0.20.1"
authors = [
"Sebastian Dröge <sebastian@centricular.com>",
"Víctor M. Jáquez L. <vjaquez@igalia.com>"
@ -20,11 +20,11 @@ rust-version = "1.64"
bitflags = "1.0"
libc = "0.2"
once_cell = "1.0"
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.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base", version = "0.20" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", version = "0.20" }
serde = { version = "1.0", optional = true }
[dev-dependencies]

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-gl-egl"
version = "0.20.0"
version = "0.20.1"
authors = [
"Sebastian Dröge <sebastian@centricular.com>",
"Víctor M. Jáquez L. <vjaquez@igalia.com>"
@ -18,11 +18,11 @@ rust-version = "1.64"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-gl-egl-sys", path = "sys" }
ffi = { package = "gstreamer-gl-egl-sys", path = "sys", version = "0.20" }
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.17", version = "0.17" }
gst = { package = "gstreamer", path = "../../gstreamer", version = "0.20" }
gst-gl = { package = "gstreamer-gl", path = "../", version = "0.20" }
[dev-dependencies]
gir-format-check = "0.1"

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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"
@ -42,10 +42,13 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst_gl]
package = "gstreamer-gl-sys"
path = "../../sys"
version = "0.20"
[build-dependencies]
system-deps = "6"

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.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst_base]
package = "gstreamer-base-sys"
path = "../../gstreamer-base/sys"
version = "0.20"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[dependencies.gst_video]
package = "gstreamer-video-sys"
path = "../../gstreamer-video/sys"
version = "0.20"
[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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-gl-wayland"
version = "0.20.0"
version = "0.20.1"
authors = [
"Sebastian Dröge <sebastian@centricular.com>",
"Víctor M. Jáquez L. <vjaquez@igalia.com>"
@ -18,11 +18,11 @@ rust-version = "1.64"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-gl-wayland-sys", path = "sys" }
ffi = { package = "gstreamer-gl-wayland-sys", path = "sys", version = "0.20" }
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.17", version = "0.17" }
gst = { package = "gstreamer", path = "../../gstreamer", version = "0.20" }
gst-gl = { package = "gstreamer-gl", path = "../", version = "0.20" }
[dev-dependencies]
gir-format-check = "0.1"

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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"
@ -42,10 +42,13 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst_gl]
package = "gstreamer-gl-sys"
path = "../../sys"
version = "0.20"
[build-dependencies]
system-deps = "6"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-gl-x11"
version = "0.20.0"
version = "0.20.1"
authors = [
"Sebastian Dröge <sebastian@centricular.com>",
"Víctor M. Jáquez L. <vjaquez@igalia.com>"
@ -18,11 +18,11 @@ rust-version = "1.64"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-gl-x11-sys", path = "sys" }
ffi = { package = "gstreamer-gl-x11-sys", path = "sys", version = "0.20" }
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.17", version = "0.17" }
gst = { package = "gstreamer", path = "../../gstreamer", version = "0.20" }
gst-gl = { package = "gstreamer-gl", path = "../", version = "0.20" }
[dev-dependencies]
gir-format-check = "0.1"

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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"
@ -42,10 +42,13 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst_gl]
package = "gstreamer-gl-sys"
path = "../../sys"
version = "0.20"
[build-dependencies]
system-deps = "6"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-mpegts"
version = "0.20.0"
version = "0.20.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.64"
[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.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
[dev-dependencies]
gir-format-check = "0.1"

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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"
@ -44,14 +44,18 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst_base]
package = "gstreamer-base-sys"
path = "../../gstreamer-base/sys"
version = "0.20"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-net"
version = "0.20.0"
version = "0.20.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.64"
[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.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
[dev-dependencies]
gir-format-check = "0.1"

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.17"
version = "0.17"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-pbutils"
version = "0.20.0"
version = "0.20.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Base Utils library"
@ -16,11 +16,11 @@ rust-version = "1.64"
[dependencies]
bitflags = "1.0"
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.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", version = "0.20" }
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio", version = "0.20" }
thiserror = "1.0"
serde = { version = "1.0", optional = true }

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.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst_audio]
package = "gstreamer-audio-sys"
path = "../../gstreamer-audio/sys"
version = "0.20"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[dependencies.gst_video]
package = "gstreamer-video-sys"
path = "../../gstreamer-video/sys"
version = "0.20"
[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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-play"
version = "0.20.0"
version = "0.20.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Play library"
@ -16,10 +16,10 @@ rust-version = "1.64"
[dependencies]
bitflags = "1.0"
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.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20", features = ["v1_20"] }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", version = "0.20", features = ["v1_20"] }
once_cell = "1.0"
[dev-dependencies]

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.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[dependencies.gst_video]
package = "gstreamer-video-sys"
path = "../../gstreamer-video/sys"
version = "0.20"
[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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-player"
version = "0.20.0"
version = "0.20.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Player library"
@ -16,10 +16,10 @@ rust-version = "1.64"
[dependencies]
bitflags = "1.0"
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.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", version = "0.20" }
once_cell = "1.0"
[dev-dependencies]

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.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[dependencies.gst_video]
package = "gstreamer-video-sys"
path = "../../gstreamer-video/sys"
version = "0.20"
[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.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-rtp"
version = "0.20.0"
version = "0.20.1"
authors = ["Mathieu Duponchelle <mathieu@centricular.com>", "Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Rtp library"
@ -17,9 +17,9 @@ rust-version = "1.64"
bitflags = "1.0"
once_cell = "1.0"
libc = "0.2"
ffi = { package = "gstreamer-rtp-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
ffi = { package = "gstreamer-rtp-sys", path = "sys", version = "0.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
serde = { version = "1.0", optional = true }
[dev-dependencies]

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.17"
version = "0.17"
[dependencies.gst_base]
package = "gstreamer-base-sys"
path = "../../gstreamer-base/sys"
version = "0.20"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[dev-dependencies]
shell-words = "1.0.0"
@ -41,7 +45,7 @@ license = "MIT"
name = "gstreamer-rtp-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-rtsp-server"
version = "0.20.0"
version = "0.20.1"
authors = ["Mathieu Duponchelle <mathieu@centricular.com>", "Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer RTSP Server library"
@ -17,13 +17,13 @@ rust-version = "1.64"
bitflags = "1.0"
libc = "0.2"
once_cell = "1.0"
ffi = { package = "gstreamer-rtsp-server-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-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp" }
gst-rtsp = { package = "gstreamer-rtsp", path = "../gstreamer-rtsp" }
gst-net = { package = "gstreamer-net", path = "../gstreamer-net" }
ffi = { package = "gstreamer-rtsp-server-sys", path = "sys", version = "0.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp", version = "0.20" }
gst-rtsp = { package = "gstreamer-rtsp", path = "../gstreamer-rtsp", version = "0.20" }
gst-net = { package = "gstreamer-net", path = "../gstreamer-net", version = "0.20" }
serde = { version = "1.0", optional = true }
[dev-dependencies]

View file

@ -7,30 +7,40 @@ libc = "0.2"
[dependencies.gio]
package = "gio-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst_net]
package = "gstreamer-net-sys"
path = "../../gstreamer-net/sys"
version = "0.20"
[dependencies.gst_rtsp]
package = "gstreamer-rtsp-sys"
path = "../../gstreamer-rtsp/sys"
version = "0.20"
[dependencies.gst_sdp]
package = "gstreamer-sdp-sys"
path = "../../gstreamer-sdp/sys"
version = "0.20"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[dev-dependencies]
shell-words = "1.0.0"
@ -57,7 +67,7 @@ license = "MIT"
name = "gstreamer-rtsp-server-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-rtsp"
version = "0.20.0"
version = "0.20.1"
authors = ["Mathieu Duponchelle <mathieu@centricular.com>", "Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Rtsp library"
@ -16,10 +16,10 @@ rust-version = "1.64"
[dependencies]
bitflags = "1.0"
libc = "0.2"
ffi = { package = "gstreamer-rtsp-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp" }
ffi = { package = "gstreamer-rtsp-sys", path = "sys", version = "0.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp", version = "0.20" }
serde = { version = "1.0", optional = true }
[dev-dependencies]

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.17"
version = "0.17"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst_sdp]
package = "gstreamer-sdp-sys"
path = "../../gstreamer-sdp/sys"
version = "0.20"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[dev-dependencies]
shell-words = "1.0.0"
@ -49,7 +57,7 @@ license = "MIT"
name = "gstreamer-rtsp-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-sdp"
version = "0.20.0"
version = "0.20.1"
authors = ["Mathieu Duponchelle <mathieu@centricular.com>", "Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Sdp library"
@ -14,9 +14,9 @@ edition = "2021"
rust-version = "1.64"
[dependencies]
ffi = { package = "gstreamer-sdp-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
ffi = { package = "gstreamer-sdp-sys", path = "sys", version = "0.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -7,10 +7,13 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[dev-dependencies]
shell-words = "1.0.0"
@ -37,7 +40,7 @@ license = "MIT"
name = "gstreamer-sdp-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

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.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[dev-dependencies]
shell-words = "1.0.0"
@ -41,7 +46,7 @@ license = "MIT"
name = "gstreamer-tag-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-utils"
version = "0.20.0"
version = "0.20.1"
authors = ["Mathieu Duponchelle <mathieu@centricular.com>", "Thibault Saunier <tsaunier@igalia.com>"]
categories = ["multimedia"]
description = "Exposes an object to build several Gst pipeline with one producer and several consumer"
@ -16,9 +16,9 @@ rust-version = "1.64"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
gst = { package = "gstreamer", path = "../gstreamer", features = ["v1_20"] }
gst_app = { package = "gstreamer-app", path = "../gstreamer-app", features = ["v1_20"] }
gst_video = { package = "gstreamer-video", path = "../gstreamer-video", features = ["v1_20"] }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20", features = ["v1_20"] }
gst_app = { package = "gstreamer-app", path = "../gstreamer-app", version = "0.20", features = ["v1_20"] }
gst_video = { package = "gstreamer-video", path = "../gstreamer-video", version = "0.20", features = ["v1_20"] }
once_cell = "1"
thiserror = "1"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-validate"
version = "0.20.0"
version = "0.20.1"
authors = ["Philippe Normand <philn@igalia.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer WebRTC library"
@ -15,9 +15,9 @@ rust-version = "1.64"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-validate-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer", features = ["v1_22"] }
ffi = { package = "gstreamer-validate-sys", path = "sys", version = "0.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20", features = ["v1_22"] }
bitflags = "1.0"
[dev-dependencies]

View file

@ -9,7 +9,7 @@ license = "MIT"
name = "gstreamer-validate-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.57"
@ -32,18 +32,25 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gio]
package = "gio-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-video"
version = "0.20.0"
version = "0.20.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Video library"
@ -17,10 +17,10 @@ rust-version = "1.64"
bitflags = "1.0"
libc = "0.2"
cfg-if = "1.0"
ffi = { package = "gstreamer-video-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-video-sys", path = "sys", version = "0.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base", version = "0.20" }
once_cell = "1.0"
futures-channel = "0.3"
serde = { version = "1.0", optional = true, features = ["derive"] }

View file

@ -46,8 +46,12 @@ impl<T> VideoFrame<T> {
#[inline]
pub fn into_buffer(self) -> gst::Buffer {
let s = mem::ManuallyDrop::new(self);
unsafe { ptr::read(&s.buffer) }
unsafe {
let mut s = mem::ManuallyDrop::new(self);
let buffer = ptr::read(&s.buffer);
ffi::gst_video_frame_unmap(&mut s.frame);
buffer
}
}
#[doc(alias = "gst_video_frame_copy")]
@ -279,7 +283,11 @@ impl<T> VideoFrame<T> {
#[inline]
pub fn into_raw(self) -> ffi::GstVideoFrame {
mem::ManuallyDrop::new(self).frame
unsafe {
let mut s = mem::ManuallyDrop::new(self);
ptr::drop_in_place(&mut s.buffer);
s.frame
}
}
}

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.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gst_base]
package = "gstreamer-base-sys"
path = "../../gstreamer-base/sys"
version = "0.20"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[dev-dependencies]
shell-words = "1.0.0"
@ -45,7 +51,7 @@ license = "MIT"
name = "gstreamer-video-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer-webrtc"
version = "0.20.0"
version = "0.20.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer WebRTC library"
@ -15,10 +15,10 @@ rust-version = "1.64"
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-webrtc-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp" }
ffi = { package = "gstreamer-webrtc-sys", path = "sys", version = "0.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp", version = "0.20" }
[dev-dependencies]
gir-format-check = "0.1"

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.17"
version = "0.17"
[dependencies.gst]
package = "gstreamer-sys"
path = "../../gstreamer/sys"
version = "0.20"
[dependencies.gst_sdp]
package = "gstreamer-sdp-sys"
path = "../../gstreamer-sdp/sys"
version = "0.20"
[dev-dependencies]
shell-words = "1.0.0"
@ -42,7 +46,7 @@ license = "MIT"
name = "gstreamer-webrtc-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html),
specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-version-field).
## [0.20.1] - 2023-02-13
### Fixed
- Fix memory leaks when converting a `gst_audio::AudioBuffer` or
`gst_video::VideoFrame` to a `gst::Buffer` or FFI type.
## [0.20.0] - 2023-02-10
### Fixed
- Make `gst_gL::GLDisplay::create_context()` `other_context` parameter optional.
@ -1474,7 +1479,8 @@ specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-v
(< 0.8.0) of the bindings can be found [here](https://github.com/arturoc/gstreamer1.0-rs).
The API of the two is incompatible.
[Unreleased]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.20.0...HEAD
[Unreleased]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.20.1...HEAD
[0.20.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.20.0...0.20.1
[0.20.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.19.8...0.20.0
[0.19.8]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.19.7...0.19.8
[0.19.7]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.19.6...0.19.7

View file

@ -1,6 +1,6 @@
[package]
name = "gstreamer"
version = "0.20.0"
version = "0.20.1"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer"
@ -17,8 +17,8 @@ rust-version = "1.64"
bitflags = "1.0"
cfg-if = "1.0"
libc = "0.2"
ffi = { package = "gstreamer-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
ffi = { package = "gstreamer-sys", path = "sys", version = "0.20" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
num-integer = { version = "0.1", default-features = false, features = [] }
num-rational = { version = "0.4", default-features = false, features = [] }
once_cell = "1.0"

View file

@ -7,10 +7,14 @@ libc = "0.2"
[dependencies.glib]
package = "glib-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dependencies.gobject]
package = "gobject-sys"
git = "https://github.com/gtk-rs/gtk-rs-core"
branch = "0.17"
version = "0.17"
[dev-dependencies]
shell-words = "1.0.0"
@ -39,7 +43,7 @@ license = "MIT"
name = "gstreamer-sys"
readme = "README.md"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
version = "0.20.0"
version = "0.20.1"
edition = "2021"
rust-version = "1.64"

View file

@ -1,20 +1,20 @@
[package]
name = "tutorials"
version = "0.20.0"
version = "0.20.1"
license = "MIT"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
edition = "2021"
rust-version = "1.64"
[dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gdk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true }
gtk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", optional = true }
gst-app = { package = "gstreamer-app", path = "../gstreamer-app" }
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.17", version = "0.17" }
gdk = { git = "https://github.com/gtk-rs/gtk3-rs", branch = "0.17", version = "0.17.0", optional = true }
gtk = { git = "https://github.com/gtk-rs/gtk3-rs", branch = "0.17", version = "0.17.0", optional = true }
gst = { package = "gstreamer", path = "../gstreamer", version = "0.20" }
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio", version = "0.20" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", version = "0.20", optional = true }
gst-app = { package = "gstreamer-app", path = "../gstreamer-app", version = "0.20" }
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils", version = "0.20" }
byte-slice-cast = "1"
anyhow = "1"
termion = { version = "2", optional = true }