diff --git a/gstreamer-allocators/src/auto/versions.txt b/gstreamer-allocators/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-allocators/src/auto/versions.txt +++ b/gstreamer-allocators/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-allocators/sys/src/auto/versions.txt b/gstreamer-allocators/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-allocators/sys/src/auto/versions.txt +++ b/gstreamer-allocators/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-app/src/auto/versions.txt +++ b/gstreamer-app/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-app/sys/src/auto/versions.txt b/gstreamer-app/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-app/sys/src/auto/versions.txt +++ b/gstreamer-app/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-audio/src/auto/versions.txt +++ b/gstreamer-audio/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-audio/sys/src/auto/versions.txt b/gstreamer-audio/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-audio/sys/src/auto/versions.txt +++ b/gstreamer-audio/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-base/src/auto/base_src.rs b/gstreamer-base/src/auto/base_src.rs index cc37e9df1..c0b8fea33 100644 --- a/gstreamer-base/src/auto/base_src.rs +++ b/gstreamer-base/src/auto/base_src.rs @@ -206,6 +206,13 @@ pub trait BaseSrcExt: IsA + sealed::Sealed + 'static { } } + #[cfg(feature = "v1_24")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] + #[doc(alias = "automatic-eos")] + fn is_automatic_eos(&self) -> bool { + ObjectExt::property(self.as_ref(), "automatic-eos") + } + #[doc(alias = "num-buffers")] fn num_buffers(&self) -> i32 { ObjectExt::property(self.as_ref(), "num-buffers") @@ -224,6 +231,37 @@ pub trait BaseSrcExt: IsA + sealed::Sealed + 'static { ObjectExt::set_property(self.as_ref(), "typefind", typefind) } + #[cfg(feature = "v1_24")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] + #[doc(alias = "automatic-eos")] + fn connect_automatic_eos_notify( + &self, + f: F, + ) -> SignalHandlerId { + unsafe extern "C" fn notify_automatic_eos_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( + this: *mut ffi::GstBaseSrc, + _param_spec: glib::ffi::gpointer, + f: glib::ffi::gpointer, + ) { + let f: &F = &*(f as *const F); + f(BaseSrc::from_glib_borrow(this).unsafe_cast_ref()) + } + unsafe { + let f: Box_ = Box_::new(f); + connect_raw( + self.as_ptr() as *mut _, + b"notify::automatic-eos\0".as_ptr() as *const _, + Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + notify_automatic_eos_trampoline:: as *const (), + )), + Box_::into_raw(f), + ) + } + } + #[doc(alias = "blocksize")] fn connect_blocksize_notify( &self, diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-base/src/auto/versions.txt +++ b/gstreamer-base/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-base/sys/src/auto/versions.txt b/gstreamer-base/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-base/sys/src/auto/versions.txt +++ b/gstreamer-base/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-check/src/auto/versions.txt +++ b/gstreamer-check/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-check/sys/src/auto/versions.txt b/gstreamer-check/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-check/sys/src/auto/versions.txt +++ b/gstreamer-check/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-controller/src/auto/versions.txt +++ b/gstreamer-controller/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-controller/sys/src/auto/versions.txt b/gstreamer-controller/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-controller/sys/src/auto/versions.txt +++ b/gstreamer-controller/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-editing-services/src/auto/track_element.rs b/gstreamer-editing-services/src/auto/track_element.rs index b5158c85e..659d79ee7 100644 --- a/gstreamer-editing-services/src/auto/track_element.rs +++ b/gstreamer-editing-services/src/auto/track_element.rs @@ -88,7 +88,7 @@ pub trait TrackElementExt: IsA + sealed::Sealed + 'static { //#[doc(alias = "ges_track_element_get_all_control_bindings")] //#[doc(alias = "get_all_control_bindings")] - //fn all_control_bindings(&self) -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 6, id: 87 } { + //fn all_control_bindings(&self) -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 6, id: 88 } { // unsafe { TODO: call ffi:ges_track_element_get_all_control_bindings() } //} diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-editing-services/src/auto/versions.txt +++ b/gstreamer-editing-services/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-editing-services/sys/src/auto/versions.txt b/gstreamer-editing-services/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-editing-services/sys/src/auto/versions.txt +++ b/gstreamer-editing-services/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-gl/egl/src/auto/versions.txt +++ b/gstreamer-gl/egl/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-gl/egl/sys/src/auto/versions.txt b/gstreamer-gl/egl/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-gl/egl/sys/src/auto/versions.txt +++ b/gstreamer-gl/egl/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-gl/src/auto/versions.txt +++ b/gstreamer-gl/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-gl/sys/src/auto/versions.txt b/gstreamer-gl/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-gl/sys/src/auto/versions.txt +++ b/gstreamer-gl/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-gl/wayland/src/auto/versions.txt +++ b/gstreamer-gl/wayland/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-gl/wayland/sys/src/auto/versions.txt b/gstreamer-gl/wayland/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-gl/wayland/sys/src/auto/versions.txt +++ b/gstreamer-gl/wayland/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-gl/x11/src/auto/versions.txt +++ b/gstreamer-gl/x11/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-gl/x11/sys/src/auto/versions.txt b/gstreamer-gl/x11/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-gl/x11/sys/src/auto/versions.txt +++ b/gstreamer-gl/x11/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-mpegts/src/auto/versions.txt b/gstreamer-mpegts/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-mpegts/src/auto/versions.txt +++ b/gstreamer-mpegts/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-mpegts/sys/src/auto/versions.txt b/gstreamer-mpegts/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-mpegts/sys/src/auto/versions.txt +++ b/gstreamer-mpegts/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-net/src/auto/versions.txt +++ b/gstreamer-net/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-net/sys/src/auto/versions.txt b/gstreamer-net/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-net/sys/src/auto/versions.txt +++ b/gstreamer-net/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-pbutils/src/auto/versions.txt +++ b/gstreamer-pbutils/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-pbutils/sys/src/auto/versions.txt b/gstreamer-pbutils/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-pbutils/sys/src/auto/versions.txt +++ b/gstreamer-pbutils/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-play/src/auto/versions.txt b/gstreamer-play/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-play/src/auto/versions.txt +++ b/gstreamer-play/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-play/sys/src/auto/versions.txt b/gstreamer-play/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-play/sys/src/auto/versions.txt +++ b/gstreamer-play/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-play/sys/src/lib.rs b/gstreamer-play/sys/src/lib.rs index 17d73c8d5..af4406128 100644 --- a/gstreamer-play/sys/src/lib.rs +++ b/gstreamer-play/sys/src/lib.rs @@ -355,10 +355,21 @@ extern "C" { //========================================================================= pub fn gst_play_get_type() -> GType; pub fn gst_play_new(video_renderer: *mut GstPlayVideoRenderer) -> *mut GstPlay; + #[cfg(feature = "v1_24")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] + pub fn gst_play_config_get_pipeline_dump_in_error_details( + config: *const gst::GstStructure, + ) -> gboolean; pub fn gst_play_config_get_position_update_interval(config: *const gst::GstStructure) -> c_uint; pub fn gst_play_config_get_seek_accurate(config: *const gst::GstStructure) -> gboolean; pub fn gst_play_config_get_user_agent(config: *const gst::GstStructure) -> *mut c_char; + #[cfg(feature = "v1_24")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] + pub fn gst_play_config_set_pipeline_dump_in_error_details( + config: *mut gst::GstStructure, + value: gboolean, + ); pub fn gst_play_config_set_position_update_interval( config: *mut gst::GstStructure, interval: c_uint, diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-player/src/auto/versions.txt +++ b/gstreamer-player/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-player/sys/src/auto/versions.txt b/gstreamer-player/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-player/sys/src/auto/versions.txt +++ b/gstreamer-player/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-rtp/src/auto/versions.txt +++ b/gstreamer-rtp/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-rtp/sys/src/auto/versions.txt b/gstreamer-rtp/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-rtp/sys/src/auto/versions.txt +++ b/gstreamer-rtp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-rtsp-server/src/auto/versions.txt +++ b/gstreamer-rtsp-server/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-rtsp-server/sys/src/auto/versions.txt b/gstreamer-rtsp-server/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-rtsp-server/sys/src/auto/versions.txt +++ b/gstreamer-rtsp-server/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-rtsp/src/auto/versions.txt +++ b/gstreamer-rtsp/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-rtsp/sys/src/auto/versions.txt b/gstreamer-rtsp/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-rtsp/sys/src/auto/versions.txt +++ b/gstreamer-rtsp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-sdp/src/auto/versions.txt +++ b/gstreamer-sdp/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-sdp/sys/src/auto/versions.txt b/gstreamer-sdp/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-sdp/sys/src/auto/versions.txt +++ b/gstreamer-sdp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-tag/sys/src/auto/versions.txt b/gstreamer-tag/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-tag/sys/src/auto/versions.txt +++ b/gstreamer-tag/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-validate/src/auto/versions.txt b/gstreamer-validate/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-validate/src/auto/versions.txt +++ b/gstreamer-validate/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-validate/sys/src/auto/versions.txt b/gstreamer-validate/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-validate/sys/src/auto/versions.txt +++ b/gstreamer-validate/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-video/src/auto/enums.rs b/gstreamer-video/src/auto/enums.rs index 62d6c96ac..92eaa63f2 100644 --- a/gstreamer-video/src/auto/enums.rs +++ b/gstreamer-video/src/auto/enums.rs @@ -2440,6 +2440,10 @@ pub enum VideoFormat { #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] #[doc(alias = "GST_VIDEO_FORMAT_GBR_16BE")] Gbr16be, + #[cfg(feature = "v1_24")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] + #[doc(alias = "GST_VIDEO_FORMAT_RBGA")] + Rbga, #[doc(hidden)] __Unknown(i32), } @@ -2668,6 +2672,8 @@ impl IntoGlib for VideoFormat { Self::Gbr16le => ffi::GST_VIDEO_FORMAT_GBR_16LE, #[cfg(feature = "v1_24")] Self::Gbr16be => ffi::GST_VIDEO_FORMAT_GBR_16BE, + #[cfg(feature = "v1_24")] + Self::Rbga => ffi::GST_VIDEO_FORMAT_RBGA, Self::__Unknown(value) => value, } } @@ -2864,6 +2870,8 @@ impl FromGlib for VideoFormat { ffi::GST_VIDEO_FORMAT_GBR_16LE => Self::Gbr16le, #[cfg(feature = "v1_24")] ffi::GST_VIDEO_FORMAT_GBR_16BE => Self::Gbr16be, + #[cfg(feature = "v1_24")] + ffi::GST_VIDEO_FORMAT_RBGA => Self::Rbga, value => Self::__Unknown(value), } } diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-video/src/auto/versions.txt +++ b/gstreamer-video/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-video/sys/src/auto/versions.txt b/gstreamer-video/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-video/sys/src/auto/versions.txt +++ b/gstreamer-video/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-video/sys/src/lib.rs b/gstreamer-video/sys/src/lib.rs index e91050a9f..b8fa252e8 100644 --- a/gstreamer-video/sys/src/lib.rs +++ b/gstreamer-video/sys/src/lib.rs @@ -388,6 +388,9 @@ pub const GST_VIDEO_FORMAT_GBR_16LE: GstVideoFormat = 131; #[cfg(feature = "v1_24")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] pub const GST_VIDEO_FORMAT_GBR_16BE: GstVideoFormat = 132; +#[cfg(feature = "v1_24")] +#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] +pub const GST_VIDEO_FORMAT_RBGA: GstVideoFormat = 133; pub type GstVideoGLTextureOrientation = c_int; pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL: GstVideoGLTextureOrientation = 0; @@ -4412,8 +4415,8 @@ extern "C" { width: c_uint, height: c_uint, n_planes: c_uint, - offset: *mut [size_t; 4], - stride: *mut [c_int; 4], + offset: *const [size_t; 4], + stride: *const [c_int; 4], ) -> *mut GstVideoMeta; pub fn gst_buffer_add_video_overlay_composition_meta( buf: *mut gst::GstBuffer, diff --git a/gstreamer-video/sys/tests/abi.rs b/gstreamer-video/sys/tests/abi.rs index 8ccea91ee..7c4b5f085 100644 --- a/gstreamer-video/sys/tests/abi.rs +++ b/gstreamer-video/sys/tests/abi.rs @@ -1389,6 +1389,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("(gint) GST_VIDEO_FORMAT_P012_LE", "92"), ("(gint) GST_VIDEO_FORMAT_P016_BE", "89"), ("(gint) GST_VIDEO_FORMAT_P016_LE", "90"), + ("(gint) GST_VIDEO_FORMAT_RBGA", "133"), ("(gint) GST_VIDEO_FORMAT_RGB", "15"), ("(gint) GST_VIDEO_FORMAT_RGB10A2_LE", "86"), ("(gint) GST_VIDEO_FORMAT_RGB15", "31"), diff --git a/gstreamer-video/sys/tests/constant.c b/gstreamer-video/sys/tests/constant.c index 3822cdcdf..1ea6128a6 100644 --- a/gstreamer-video/sys/tests/constant.c +++ b/gstreamer-video/sys/tests/constant.c @@ -353,6 +353,7 @@ int main() { PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_P012_LE); PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_P016_BE); PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_P016_LE); + PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RBGA); PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RGB); PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RGB10A2_LE); PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_RGB15); diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-webrtc/src/auto/versions.txt +++ b/gstreamer-webrtc/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer-webrtc/sys/src/auto/versions.txt b/gstreamer-webrtc/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer-webrtc/sys/src/auto/versions.txt +++ b/gstreamer-webrtc/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer/src/auto/versions.txt +++ b/gstreamer/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer/sys/src/auto/versions.txt b/gstreamer/sys/src/auto/versions.txt index f986cef95..02c0cbadf 100644 --- a/gstreamer/sys/src/auto/versions.txt +++ b/gstreamer/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ Generated by gir (https://github.com/gtk-rs/gir @ a2f936b77195) from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 62054dc7234d) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 03a2db9e0c62) diff --git a/gstreamer/sys/src/lib.rs b/gstreamer/sys/src/lib.rs index 0b38c4c64..2d577b649 100644 --- a/gstreamer/sys/src/lib.rs +++ b/gstreamer/sys/src/lib.rs @@ -910,6 +910,9 @@ pub const GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO: GstSegmentFlags = 256; pub type GstSerializeFlags = c_uint; pub const GST_SERIALIZE_FLAG_NONE: GstSerializeFlags = 0; pub const GST_SERIALIZE_FLAG_BACKWARD_COMPAT: GstSerializeFlags = 1; +#[cfg(feature = "v1_24")] +#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] +pub const GST_SERIALIZE_FLAG_STRICT: GstSerializeFlags = 2; pub type GstStackTraceFlags = c_uint; pub const GST_STACK_TRACE_SHOW_NONE: GstStackTraceFlags = 0; @@ -1078,9 +1081,15 @@ pub type GstMemoryShareFunction = Option *mut GstMemory>; pub type GstMemoryUnmapFullFunction = Option; pub type GstMemoryUnmapFunction = Option; +pub type GstMetaClearFunction = Option; +pub type GstMetaDeserializeFunction = Option< + unsafe extern "C" fn(*const GstMetaInfo, *mut GstBuffer, *const u8, size_t, u8) -> *mut GstMeta, +>; pub type GstMetaFreeFunction = Option; pub type GstMetaInitFunction = Option gboolean>; +pub type GstMetaSerializeFunction = + Option gboolean>; pub type GstMetaTransformFunction = Option< unsafe extern "C" fn( *mut GstBuffer, @@ -1409,6 +1418,25 @@ pub struct _GstBusPrivate { pub type GstBusPrivate = *mut _GstBusPrivate; +#[derive(Copy, Clone)] +#[repr(C)] +pub struct GstByteArrayInterface { + pub data: *mut u8, + pub len: size_t, + pub resize: Option gboolean>, + pub _gst_reserved: [gpointer; 4], +} + +impl ::std::fmt::Debug for GstByteArrayInterface { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!("GstByteArrayInterface @ {self:p}")) + .field("data", &self.data) + .field("len", &self.len) + .field("resize", &self.resize) + .finish() + } +} + #[derive(Copy, Clone)] #[repr(C)] pub struct GstCaps { @@ -2058,6 +2086,9 @@ pub struct GstMetaInfo { pub init_func: GstMetaInitFunction, pub free_func: GstMetaFreeFunction, pub transform_func: GstMetaTransformFunction, + pub serialize_func: GstMetaSerializeFunction, + pub deserialize_func: GstMetaDeserializeFunction, + pub clear_func: GstMetaClearFunction, } impl ::std::fmt::Debug for GstMetaInfo { @@ -2069,6 +2100,9 @@ impl ::std::fmt::Debug for GstMetaInfo { .field("init_func", &self.init_func) .field("free_func", &self.free_func) .field("transform_func", &self.transform_func) + .field("serialize_func", &self.serialize_func) + .field("deserialize_func", &self.deserialize_func) + .field("clear_func", &self.clear_func) .finish() } } @@ -5751,9 +5785,24 @@ extern "C" { #[cfg(feature = "v1_16")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))] pub fn gst_meta_get_seqnum(meta: *const GstMeta) -> u64; + #[cfg(feature = "v1_24")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] + pub fn gst_meta_serialize(meta: *const GstMeta, data: *mut GstByteArrayInterface) -> gboolean; + #[cfg(feature = "v1_24")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] + pub fn gst_meta_serialize_simple(meta: *const GstMeta, data: *mut glib::GByteArray) + -> gboolean; pub fn gst_meta_api_type_get_tags(api: GType) -> *const *const c_char; pub fn gst_meta_api_type_has_tag(api: GType, tag: glib::GQuark) -> gboolean; pub fn gst_meta_api_type_register(api: *const c_char, tags: *mut *const c_char) -> GType; + #[cfg(feature = "v1_24")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] + pub fn gst_meta_deserialize( + buffer: *mut GstBuffer, + data: *const u8, + size: size_t, + consumed: *mut u32, + ) -> *mut GstMeta; pub fn gst_meta_get_info(impl_: *const c_char) -> *const GstMetaInfo; pub fn gst_meta_register( api: GType, @@ -5782,6 +5831,12 @@ extern "C" { #[cfg(feature = "v1_20")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))] pub fn gst_meta_info_is_custom(info: *const GstMetaInfo) -> gboolean; + #[cfg(feature = "v1_24")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] + pub fn gst_meta_info_register(info: *mut GstMetaInfo) -> *const GstMetaInfo; + #[cfg(feature = "v1_24")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] + pub fn gst_meta_info_new(api: GType, impl_: *const c_char, size: size_t) -> *mut GstMetaInfo; //========================================================================= // GstMiniObject @@ -8837,6 +8892,9 @@ extern "C" { #[cfg(feature = "v1_18_3")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))] pub fn gst_clear_caps(caps_ptr: *mut *mut GstCaps); + #[cfg(feature = "v1_24")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] + pub fn gst_clear_context(context_ptr: *mut *mut GstContext); #[cfg(feature = "v1_18_3")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))] pub fn gst_clear_event(event_ptr: *mut *mut GstEvent); @@ -8849,6 +8907,9 @@ extern "C" { #[cfg(feature = "v1_16")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))] pub fn gst_clear_object(object_ptr: *mut *mut GstObject); + #[cfg(feature = "v1_24")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))] + pub fn gst_clear_promise(promise_ptr: *mut *mut GstPromise); #[cfg(feature = "v1_18_3")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))] pub fn gst_clear_query(query_ptr: *mut *mut GstQuery); diff --git a/gstreamer/sys/tests/abi.rs b/gstreamer/sys/tests/abi.rs index 085fd7e14..a71c32731 100644 --- a/gstreamer/sys/tests/abi.rs +++ b/gstreamer/sys/tests/abi.rs @@ -342,6 +342,13 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[ alignment: align_of::(), }, ), + ( + "GstByteArrayInterface", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), ( "GstCaps", Layout { @@ -2032,6 +2039,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("GST_SEQNUM_INVALID", "0"), ("(guint) GST_SERIALIZE_FLAG_BACKWARD_COMPAT", "1"), ("(guint) GST_SERIALIZE_FLAG_NONE", "0"), + ("(guint) GST_SERIALIZE_FLAG_STRICT", "2"), ("(guint) GST_STACK_TRACE_SHOW_FULL", "1"), ("(guint) GST_STACK_TRACE_SHOW_NONE", "0"), ("(gint) GST_STATE_CHANGE_ASYNC", "2"), diff --git a/gstreamer/sys/tests/constant.c b/gstreamer/sys/tests/constant.c index 3ead3aa8d..b5238c84a 100644 --- a/gstreamer/sys/tests/constant.c +++ b/gstreamer/sys/tests/constant.c @@ -559,6 +559,7 @@ int main() { PRINT_CONSTANT(GST_SEQNUM_INVALID); PRINT_CONSTANT((guint) GST_SERIALIZE_FLAG_BACKWARD_COMPAT); PRINT_CONSTANT((guint) GST_SERIALIZE_FLAG_NONE); + PRINT_CONSTANT((guint) GST_SERIALIZE_FLAG_STRICT); PRINT_CONSTANT((guint) GST_STACK_TRACE_SHOW_FULL); PRINT_CONSTANT((guint) GST_STACK_TRACE_SHOW_NONE); PRINT_CONSTANT((gint) GST_STATE_CHANGE_ASYNC); diff --git a/gstreamer/sys/tests/layout.c b/gstreamer/sys/tests/layout.c index e83d24507..724d5b4c5 100644 --- a/gstreamer/sys/tests/layout.c +++ b/gstreamer/sys/tests/layout.c @@ -28,6 +28,7 @@ int main() { printf("%s;%zu;%zu\n", "GstBusClass", sizeof(GstBusClass), alignof(GstBusClass)); printf("%s;%zu;%zu\n", "GstBusFlags", sizeof(GstBusFlags), alignof(GstBusFlags)); printf("%s;%zu;%zu\n", "GstBusSyncReply", sizeof(GstBusSyncReply), alignof(GstBusSyncReply)); + printf("%s;%zu;%zu\n", "GstByteArrayInterface", sizeof(GstByteArrayInterface), alignof(GstByteArrayInterface)); printf("%s;%zu;%zu\n", "GstCaps", sizeof(GstCaps), alignof(GstCaps)); printf("%s;%zu;%zu\n", "GstCapsFlags", sizeof(GstCapsFlags), alignof(GstCapsFlags)); printf("%s;%zu;%zu\n", "GstCapsIntersectMode", sizeof(GstCapsIntersectMode), alignof(GstCapsIntersectMode));