From 2364361f6b598872f5f0a923f755d5669e81f6b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Wed, 28 Apr 2021 14:32:14 +0200 Subject: [PATCH] regen: use TryFromGlib for *Return types --- gstreamer-app/src/auto/app_sink.rs | 58 ++++++++++++++ gstreamer-app/src/auto/app_src.rs | 17 ++++ gstreamer-app/src/auto/versions.txt | 2 +- gstreamer-app/sys/build.rs | 2 +- gstreamer-app/sys/src/lib.rs | 2 +- gstreamer-app/sys/tests/abi.rs | 2 +- gstreamer-app/sys/tests/constant.c | 2 +- gstreamer-app/sys/tests/layout.c | 2 +- gstreamer-audio/src/auto/versions.txt | 2 +- gstreamer-audio/sys/build.rs | 2 +- gstreamer-audio/sys/src/lib.rs | 2 +- gstreamer-audio/sys/tests/abi.rs | 2 +- gstreamer-audio/sys/tests/constant.c | 2 +- gstreamer-audio/sys/tests/layout.c | 2 +- gstreamer-base/src/auto/base_sink.rs | 66 +++++++++++++++- gstreamer-base/src/auto/base_src.rs | 34 ++++++++ gstreamer-base/src/auto/functions.rs | 4 +- gstreamer-base/src/auto/versions.txt | 2 +- gstreamer-base/sys/build.rs | 2 +- gstreamer-base/sys/src/lib.rs | 2 +- gstreamer-base/sys/tests/abi.rs | 2 +- gstreamer-base/sys/tests/constant.c | 2 +- gstreamer-base/sys/tests/layout.c | 2 +- gstreamer-check/src/auto/versions.txt | 2 +- gstreamer-check/sys/build.rs | 2 +- gstreamer-check/sys/src/lib.rs | 2 +- gstreamer-check/sys/tests/abi.rs | 2 +- gstreamer-check/sys/tests/constant.c | 2 +- gstreamer-check/sys/tests/layout.c | 2 +- gstreamer-controller/src/auto/versions.txt | 2 +- gstreamer-controller/sys/build.rs | 2 +- gstreamer-controller/sys/src/lib.rs | 2 +- gstreamer-controller/sys/tests/abi.rs | 2 +- gstreamer-controller/sys/tests/constant.c | 2 +- gstreamer-controller/sys/tests/layout.c | 2 +- .../src/auto/versions.txt | 2 +- gstreamer-editing-services/sys/build.rs | 2 +- gstreamer-editing-services/sys/src/lib.rs | 2 +- gstreamer-editing-services/sys/tests/abi.rs | 2 +- .../sys/tests/constant.c | 2 +- gstreamer-editing-services/sys/tests/layout.c | 2 +- gstreamer-gl/egl/src/auto/versions.txt | 2 +- gstreamer-gl/egl/sys/build.rs | 2 +- gstreamer-gl/egl/sys/src/lib.rs | 2 +- gstreamer-gl/egl/sys/tests/abi.rs | 2 +- gstreamer-gl/egl/sys/tests/constant.c | 2 +- gstreamer-gl/egl/sys/tests/layout.c | 2 +- gstreamer-gl/src/auto/versions.txt | 2 +- gstreamer-gl/sys/build.rs | 2 +- gstreamer-gl/sys/src/lib.rs | 2 +- gstreamer-gl/sys/tests/abi.rs | 2 +- gstreamer-gl/sys/tests/constant.c | 2 +- gstreamer-gl/sys/tests/layout.c | 2 +- gstreamer-gl/wayland/src/auto/versions.txt | 2 +- gstreamer-gl/wayland/sys/build.rs | 2 +- gstreamer-gl/wayland/sys/src/lib.rs | 2 +- gstreamer-gl/wayland/sys/tests/abi.rs | 2 +- gstreamer-gl/wayland/sys/tests/constant.c | 2 +- gstreamer-gl/wayland/sys/tests/layout.c | 2 +- gstreamer-gl/x11/src/auto/versions.txt | 2 +- gstreamer-gl/x11/sys/build.rs | 2 +- gstreamer-gl/x11/sys/src/lib.rs | 2 +- gstreamer-gl/x11/sys/tests/abi.rs | 2 +- gstreamer-gl/x11/sys/tests/constant.c | 2 +- gstreamer-gl/x11/sys/tests/layout.c | 2 +- gstreamer-mpegts/sys/build.rs | 2 +- gstreamer-mpegts/sys/src/lib.rs | 2 +- gstreamer-mpegts/sys/tests/abi.rs | 2 +- gstreamer-mpegts/sys/tests/constant.c | 2 +- gstreamer-mpegts/sys/tests/layout.c | 2 +- gstreamer-net/src/auto/versions.txt | 2 +- gstreamer-net/sys/build.rs | 2 +- gstreamer-net/sys/src/lib.rs | 2 +- gstreamer-net/sys/tests/abi.rs | 2 +- gstreamer-net/sys/tests/constant.c | 2 +- gstreamer-net/sys/tests/layout.c | 2 +- gstreamer-pbutils/src/auto/versions.txt | 2 +- gstreamer-pbutils/sys/build.rs | 2 +- gstreamer-pbutils/sys/src/lib.rs | 2 +- gstreamer-pbutils/sys/tests/abi.rs | 2 +- gstreamer-pbutils/sys/tests/constant.c | 2 +- gstreamer-pbutils/sys/tests/layout.c | 2 +- gstreamer-player/src/auto/versions.txt | 2 +- gstreamer-player/sys/build.rs | 2 +- gstreamer-player/sys/src/lib.rs | 2 +- gstreamer-player/sys/tests/abi.rs | 2 +- gstreamer-player/sys/tests/constant.c | 2 +- gstreamer-player/sys/tests/layout.c | 2 +- gstreamer-rtp/src/auto/versions.txt | 2 +- gstreamer-rtp/sys/build.rs | 2 +- gstreamer-rtp/sys/src/lib.rs | 2 +- gstreamer-rtp/sys/tests/abi.rs | 2 +- gstreamer-rtp/sys/tests/constant.c | 2 +- gstreamer-rtp/sys/tests/layout.c | 2 +- gstreamer-rtsp-server/src/auto/rtsp_stream.rs | 24 ++++++ .../src/auto/rtsp_stream_transport.rs | 21 +++++ gstreamer-rtsp-server/src/auto/versions.txt | 2 +- gstreamer-rtsp-server/sys/build.rs | 2 +- gstreamer-rtsp-server/sys/src/lib.rs | 2 +- gstreamer-rtsp-server/sys/tests/abi.rs | 2 +- gstreamer-rtsp-server/sys/tests/constant.c | 2 +- gstreamer-rtsp-server/sys/tests/layout.c | 2 +- gstreamer-rtsp/src/auto/versions.txt | 2 +- gstreamer-rtsp/sys/build.rs | 2 +- gstreamer-rtsp/sys/src/lib.rs | 2 +- gstreamer-rtsp/sys/tests/abi.rs | 2 +- gstreamer-rtsp/sys/tests/constant.c | 2 +- gstreamer-rtsp/sys/tests/layout.c | 2 +- gstreamer-sdp/src/auto/versions.txt | 2 +- gstreamer-sdp/sys/build.rs | 2 +- gstreamer-sdp/sys/src/lib.rs | 2 +- gstreamer-sdp/sys/tests/abi.rs | 2 +- gstreamer-sdp/sys/tests/constant.c | 2 +- gstreamer-sdp/sys/tests/layout.c | 2 +- gstreamer-tag/sys/build.rs | 2 +- gstreamer-tag/sys/src/lib.rs | 2 +- gstreamer-tag/sys/tests/abi.rs | 2 +- gstreamer-tag/sys/tests/constant.c | 2 +- gstreamer-tag/sys/tests/layout.c | 2 +- gstreamer-video/src/auto/versions.txt | 2 +- gstreamer-video/src/auto/video_decoder.rs | 11 +++ gstreamer-video/sys/build.rs | 2 +- gstreamer-video/sys/src/lib.rs | 2 +- gstreamer-video/sys/tests/abi.rs | 2 +- gstreamer-video/sys/tests/constant.c | 2 +- gstreamer-video/sys/tests/layout.c | 2 +- gstreamer-webrtc/src/auto/versions.txt | 2 +- gstreamer-webrtc/sys/build.rs | 2 +- gstreamer-webrtc/sys/src/lib.rs | 2 +- gstreamer-webrtc/sys/tests/abi.rs | 2 +- gstreamer-webrtc/sys/tests/constant.c | 2 +- gstreamer-webrtc/sys/tests/layout.c | 2 +- gstreamer/src/auto/clock.rs | 4 +- gstreamer/src/auto/element.rs | 78 +++++++++++++++++++ gstreamer/src/auto/pad.rs | 63 ++++++++++++++- gstreamer/src/auto/versions.txt | 2 +- gstreamer/sys/build.rs | 2 +- gstreamer/sys/src/lib.rs | 2 +- gstreamer/sys/tests/abi.rs | 2 +- gstreamer/sys/tests/constant.c | 2 +- gstreamer/sys/tests/layout.c | 2 +- 141 files changed, 502 insertions(+), 138 deletions(-) diff --git a/gstreamer-app/src/auto/app_sink.rs b/gstreamer-app/src/auto/app_sink.rs index 8c750aebd..38f1da998 100644 --- a/gstreamer-app/src/auto/app_sink.rs +++ b/gstreamer-app/src/auto/app_sink.rs @@ -208,6 +208,64 @@ impl AppSink { } } + #[doc(alias = "new-preroll")] + pub fn connect_new_preroll< + F: Fn(&AppSink) -> Result + Send + Sync + 'static, + >( + &self, + f: F, + ) -> SignalHandlerId { + unsafe extern "C" fn new_preroll_trampoline< + F: Fn(&AppSink) -> Result + Send + Sync + 'static, + >( + this: *mut ffi::GstAppSink, + f: glib::ffi::gpointer, + ) -> gst::ffi::GstFlowReturn { + let f: &F = &*(f as *const F); + f(&from_glib_borrow(this)).into_glib() + } + unsafe { + let f: Box_ = Box_::new(f); + connect_raw( + self.as_ptr() as *mut _, + b"new-preroll\0".as_ptr() as *const _, + Some(transmute::<_, unsafe extern "C" fn()>( + new_preroll_trampoline:: as *const (), + )), + Box_::into_raw(f), + ) + } + } + + #[doc(alias = "new-sample")] + pub fn connect_new_sample< + F: Fn(&AppSink) -> Result + Send + Sync + 'static, + >( + &self, + f: F, + ) -> SignalHandlerId { + unsafe extern "C" fn new_sample_trampoline< + F: Fn(&AppSink) -> Result + Send + Sync + 'static, + >( + this: *mut ffi::GstAppSink, + f: glib::ffi::gpointer, + ) -> gst::ffi::GstFlowReturn { + let f: &F = &*(f as *const F); + f(&from_glib_borrow(this)).into_glib() + } + unsafe { + let f: Box_ = Box_::new(f); + connect_raw( + self.as_ptr() as *mut _, + b"new-sample\0".as_ptr() as *const _, + Some(transmute::<_, unsafe extern "C" fn()>( + new_sample_trampoline:: as *const (), + )), + Box_::into_raw(f), + ) + } + } + #[doc(alias = "buffer-list")] pub fn connect_buffer_list_notify( &self, diff --git a/gstreamer-app/src/auto/app_src.rs b/gstreamer-app/src/auto/app_src.rs index 971be89c2..104c16165 100644 --- a/gstreamer-app/src/auto/app_src.rs +++ b/gstreamer-app/src/auto/app_src.rs @@ -22,6 +22,13 @@ glib::wrapper! { } impl AppSrc { + #[doc(alias = "gst_app_src_end_of_stream")] + pub fn end_of_stream(&self) -> Result { + unsafe { + gst::FlowSuccess::try_from_glib(ffi::gst_app_src_end_of_stream(self.to_glib_none().0)) + } + } + #[doc(alias = "gst_app_src_get_caps")] #[doc(alias = "get_caps")] pub fn caps(&self) -> Option { @@ -66,6 +73,16 @@ impl AppSrc { unsafe { from_glib(ffi::gst_app_src_get_stream_type(self.to_glib_none().0)) } } + #[doc(alias = "gst_app_src_push_sample")] + pub fn push_sample(&self, sample: &gst::Sample) -> Result { + unsafe { + gst::FlowSuccess::try_from_glib(ffi::gst_app_src_push_sample( + self.to_glib_none().0, + sample.to_glib_none().0, + )) + } + } + //#[doc(alias = "gst_app_src_set_callbacks")] //pub fn set_callbacks(&self, callbacks: /*Ignored*/&mut AppSrcCallbacks, user_data: /*Unimplemented*/Option) { // unsafe { TODO: call ffi:gst_app_src_set_callbacks() } diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-app/sys/build.rs b/gstreamer-app/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-app/sys/build.rs +++ b/gstreamer-app/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/src/lib.rs b/gstreamer-app/sys/src/lib.rs index 2712e85c5..188a5cd21 100644 --- a/gstreamer-app/sys/src/lib.rs +++ b/gstreamer-app/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/abi.rs b/gstreamer-app/sys/tests/abi.rs index 63bedb6f9..0bf17f2a3 100644 --- a/gstreamer-app/sys/tests/abi.rs +++ b/gstreamer-app/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/constant.c b/gstreamer-app/sys/tests/constant.c index fe69131eb..c047d50bd 100644 --- a/gstreamer-app/sys/tests/constant.c +++ b/gstreamer-app/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/layout.c b/gstreamer-app/sys/tests/layout.c index 76c91b296..e9fcab72a 100644 --- a/gstreamer-app/sys/tests/layout.c +++ b/gstreamer-app/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-audio/sys/build.rs b/gstreamer-audio/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-audio/sys/build.rs +++ b/gstreamer-audio/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/src/lib.rs b/gstreamer-audio/sys/src/lib.rs index 3cfe74806..70dbeb0a2 100644 --- a/gstreamer-audio/sys/src/lib.rs +++ b/gstreamer-audio/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/abi.rs b/gstreamer-audio/sys/tests/abi.rs index 9241dc533..2bffa4535 100644 --- a/gstreamer-audio/sys/tests/abi.rs +++ b/gstreamer-audio/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/constant.c b/gstreamer-audio/sys/tests/constant.c index 5e774fad1..baed35097 100644 --- a/gstreamer-audio/sys/tests/constant.c +++ b/gstreamer-audio/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/layout.c b/gstreamer-audio/sys/tests/layout.c index dc7d6c48f..6bf4546dc 100644 --- a/gstreamer-audio/sys/tests/layout.c +++ b/gstreamer-audio/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/base_sink.rs b/gstreamer-base/src/auto/base_sink.rs index 7e8336871..d9a7668ea 100644 --- a/gstreamer-base/src/auto/base_sink.rs +++ b/gstreamer-base/src/auto/base_sink.rs @@ -11,6 +11,7 @@ use glib::translate::*; use glib::StaticType; use glib::ToValue; use std::boxed::Box as Box_; +use std::mem; use std::mem::transmute; glib::wrapper! { @@ -28,7 +29,7 @@ pub const NONE_BASE_SINK: Option<&BaseSink> = None; pub trait BaseSinkExt: 'static { //#[doc(alias = "gst_base_sink_do_preroll")] - //fn do_preroll(&self, obj: /*Ignored*/&gst::MiniObject) -> gst::FlowReturn; + //fn do_preroll(&self, obj: /*Ignored*/&gst::MiniObject) -> Result; #[doc(alias = "gst_base_sink_get_blocksize")] #[doc(alias = "get_blocksize")] @@ -133,6 +134,24 @@ pub trait BaseSinkExt: 'static { #[doc(alias = "gst_base_sink_set_ts_offset")] fn set_ts_offset(&self, offset: gst::ClockTimeDiff); + #[doc(alias = "gst_base_sink_wait")] + fn wait( + &self, + time: gst::ClockTime, + ) -> (Result, gst::ClockTimeDiff); + + #[doc(alias = "gst_base_sink_wait_clock")] + fn wait_clock( + &self, + time: gst::ClockTime, + ) -> ( + Result, + gst::ClockTimeDiff, + ); + + #[doc(alias = "gst_base_sink_wait_preroll")] + fn wait_preroll(&self) -> Result; + #[doc(alias = "async")] fn is_async(&self) -> bool; @@ -221,7 +240,7 @@ pub trait BaseSinkExt: 'static { } impl> BaseSinkExt for O { - //fn do_preroll(&self, obj: /*Ignored*/&gst::MiniObject) -> gst::FlowReturn { + //fn do_preroll(&self, obj: /*Ignored*/&gst::MiniObject) -> Result { // unsafe { TODO: call ffi:gst_base_sink_do_preroll() } //} @@ -411,6 +430,49 @@ impl> BaseSinkExt for O { } } + fn wait( + &self, + time: gst::ClockTime, + ) -> (Result, gst::ClockTimeDiff) { + unsafe { + let mut jitter = mem::MaybeUninit::uninit(); + let ret = gst::FlowSuccess::try_from_glib(ffi::gst_base_sink_wait( + self.as_ref().to_glib_none().0, + time.into_glib(), + jitter.as_mut_ptr(), + )); + let jitter = jitter.assume_init(); + (ret, jitter) + } + } + + fn wait_clock( + &self, + time: gst::ClockTime, + ) -> ( + Result, + gst::ClockTimeDiff, + ) { + unsafe { + let mut jitter = mem::MaybeUninit::uninit(); + let ret = gst::ClockSuccess::try_from_glib(ffi::gst_base_sink_wait_clock( + self.as_ref().to_glib_none().0, + time.into_glib(), + jitter.as_mut_ptr(), + )); + let jitter = jitter.assume_init(); + (ret, jitter) + } + } + + fn wait_preroll(&self) -> Result { + unsafe { + gst::FlowSuccess::try_from_glib(ffi::gst_base_sink_wait_preroll( + self.as_ref().to_glib_none().0, + )) + } + } + fn is_async(&self) -> bool { unsafe { let mut value = glib::Value::from_type(::static_type()); diff --git a/gstreamer-base/src/auto/base_src.rs b/gstreamer-base/src/auto/base_src.rs index 458d815f8..293285e74 100644 --- a/gstreamer-base/src/auto/base_src.rs +++ b/gstreamer-base/src/auto/base_src.rs @@ -82,6 +82,15 @@ pub trait BaseSrcExt: 'static { #[doc(alias = "gst_base_src_set_live")] fn set_live(&self, live: bool); + #[doc(alias = "gst_base_src_start_complete")] + fn start_complete(&self, ret: impl Into); + + #[doc(alias = "gst_base_src_start_wait")] + fn start_wait(&self) -> Result; + + #[doc(alias = "gst_base_src_wait_playing")] + fn wait_playing(&self) -> Result; + #[doc(alias = "num-buffers")] fn num_buffers(&self) -> i32; @@ -224,6 +233,31 @@ impl> BaseSrcExt for O { } } + fn start_complete(&self, ret: impl Into) { + unsafe { + ffi::gst_base_src_start_complete( + self.as_ref().to_glib_none().0, + ret.into().into_glib(), + ); + } + } + + fn start_wait(&self) -> Result { + unsafe { + gst::FlowSuccess::try_from_glib(ffi::gst_base_src_start_wait( + self.as_ref().to_glib_none().0, + )) + } + } + + fn wait_playing(&self) -> Result { + unsafe { + gst::FlowSuccess::try_from_glib(ffi::gst_base_src_wait_playing( + self.as_ref().to_glib_none().0, + )) + } + } + fn num_buffers(&self) -> i32 { unsafe { let mut value = glib::Value::from_type(::static_type()); diff --git a/gstreamer-base/src/auto/functions.rs b/gstreamer-base/src/auto/functions.rs index 6c34fd635..c7277eed5 100644 --- a/gstreamer-base/src/auto/functions.rs +++ b/gstreamer-base/src/auto/functions.rs @@ -37,13 +37,13 @@ pub fn type_find_helper_for_extension>( } //#[doc(alias = "gst_type_find_helper_get_range")] -//pub fn type_find_helper_get_range, Q: IsA, R: FnMut(&gst::Object, Option<&gst::Object>, u64, u32, &gst::Buffer) -> gst::FlowReturn>(obj: &P, parent: Option<&Q>, func: R, size: u64, extension: Option<&str>) -> (Option, gst::TypeFindProbability) { +//pub fn type_find_helper_get_range, Q: IsA, R: FnMut(&gst::Object, Option<&gst::Object>, u64, u32, &gst::Buffer) -> Result>(obj: &P, parent: Option<&Q>, func: R, size: u64, extension: Option<&str>) -> (Option, gst::TypeFindProbability) { // unsafe { TODO: call ffi:gst_type_find_helper_get_range() } //} //#[cfg(any(feature = "v1_14_3", feature = "dox"))] //#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14_3")))] //#[doc(alias = "gst_type_find_helper_get_range_full")] -//pub fn type_find_helper_get_range_full, Q: IsA, R: FnMut(&gst::Object, Option<&gst::Object>, u64, u32, &gst::Buffer) -> gst::FlowReturn>(obj: &P, parent: Option<&Q>, func: R, size: u64, extension: Option<&str>) -> (gst::FlowReturn, gst::Caps, gst::TypeFindProbability) { +//pub fn type_find_helper_get_range_full, Q: IsA, R: FnMut(&gst::Object, Option<&gst::Object>, u64, u32, &gst::Buffer) -> Result>(obj: &P, parent: Option<&Q>, func: R, size: u64, extension: Option<&str>) -> (Result, gst::Caps, gst::TypeFindProbability) { // unsafe { TODO: call ffi:gst_type_find_helper_get_range_full() } //} diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-base/sys/build.rs b/gstreamer-base/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-base/sys/build.rs +++ b/gstreamer-base/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/src/lib.rs b/gstreamer-base/sys/src/lib.rs index 138df95e1..51ddfd313 100644 --- a/gstreamer-base/sys/src/lib.rs +++ b/gstreamer-base/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/abi.rs b/gstreamer-base/sys/tests/abi.rs index 5395bcd71..a665d65c7 100644 --- a/gstreamer-base/sys/tests/abi.rs +++ b/gstreamer-base/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/constant.c b/gstreamer-base/sys/tests/constant.c index 504e924d6..2f775d07c 100644 --- a/gstreamer-base/sys/tests/constant.c +++ b/gstreamer-base/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/layout.c b/gstreamer-base/sys/tests/layout.c index bd82dcbdf..922368fdf 100644 --- a/gstreamer-base/sys/tests/layout.c +++ b/gstreamer-base/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-check/sys/build.rs b/gstreamer-check/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-check/sys/build.rs +++ b/gstreamer-check/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/src/lib.rs b/gstreamer-check/sys/src/lib.rs index 839aae622..af54b6c6f 100644 --- a/gstreamer-check/sys/src/lib.rs +++ b/gstreamer-check/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/abi.rs b/gstreamer-check/sys/tests/abi.rs index 88b1634b0..2e52d9338 100644 --- a/gstreamer-check/sys/tests/abi.rs +++ b/gstreamer-check/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/constant.c b/gstreamer-check/sys/tests/constant.c index 5299177e4..cfe740b5e 100644 --- a/gstreamer-check/sys/tests/constant.c +++ b/gstreamer-check/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/layout.c b/gstreamer-check/sys/tests/layout.c index 0eb0de4f2..5f9f594d8 100644 --- a/gstreamer-check/sys/tests/layout.c +++ b/gstreamer-check/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-controller/sys/build.rs b/gstreamer-controller/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-controller/sys/build.rs +++ b/gstreamer-controller/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/src/lib.rs b/gstreamer-controller/sys/src/lib.rs index 69a5c6df8..0ec968a0e 100644 --- a/gstreamer-controller/sys/src/lib.rs +++ b/gstreamer-controller/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/abi.rs b/gstreamer-controller/sys/tests/abi.rs index 18d312b36..ff15d94b3 100644 --- a/gstreamer-controller/sys/tests/abi.rs +++ b/gstreamer-controller/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/constant.c b/gstreamer-controller/sys/tests/constant.c index 9dd0f0f8f..559deb0fa 100644 --- a/gstreamer-controller/sys/tests/constant.c +++ b/gstreamer-controller/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/layout.c b/gstreamer-controller/sys/tests/layout.c index cb728396c..a94c03a00 100644 --- a/gstreamer-controller/sys/tests/layout.c +++ b/gstreamer-controller/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-editing-services/sys/build.rs b/gstreamer-editing-services/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-editing-services/sys/build.rs +++ b/gstreamer-editing-services/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/src/lib.rs b/gstreamer-editing-services/sys/src/lib.rs index 2a991660f..b0dcb6976 100644 --- a/gstreamer-editing-services/sys/src/lib.rs +++ b/gstreamer-editing-services/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/abi.rs b/gstreamer-editing-services/sys/tests/abi.rs index 6e1c1cfde..d01235537 100644 --- a/gstreamer-editing-services/sys/tests/abi.rs +++ b/gstreamer-editing-services/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/constant.c b/gstreamer-editing-services/sys/tests/constant.c index d62d7a388..b65dee9a5 100644 --- a/gstreamer-editing-services/sys/tests/constant.c +++ b/gstreamer-editing-services/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/layout.c b/gstreamer-editing-services/sys/tests/layout.c index 316cb7c08..07db301d8 100644 --- a/gstreamer-editing-services/sys/tests/layout.c +++ b/gstreamer-editing-services/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/egl/sys/build.rs b/gstreamer-gl/egl/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-gl/egl/sys/build.rs +++ b/gstreamer-gl/egl/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/src/lib.rs b/gstreamer-gl/egl/sys/src/lib.rs index aa52c43c5..2fe57be29 100644 --- a/gstreamer-gl/egl/sys/src/lib.rs +++ b/gstreamer-gl/egl/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/abi.rs b/gstreamer-gl/egl/sys/tests/abi.rs index 33c6cf169..b119dc83d 100644 --- a/gstreamer-gl/egl/sys/tests/abi.rs +++ b/gstreamer-gl/egl/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/constant.c b/gstreamer-gl/egl/sys/tests/constant.c index b7da1120f..c77c05460 100644 --- a/gstreamer-gl/egl/sys/tests/constant.c +++ b/gstreamer-gl/egl/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/layout.c b/gstreamer-gl/egl/sys/tests/layout.c index 4932ce26e..013e20543 100644 --- a/gstreamer-gl/egl/sys/tests/layout.c +++ b/gstreamer-gl/egl/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/sys/build.rs b/gstreamer-gl/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-gl/sys/build.rs +++ b/gstreamer-gl/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/src/lib.rs b/gstreamer-gl/sys/src/lib.rs index d4b9673ce..b93cad90c 100644 --- a/gstreamer-gl/sys/src/lib.rs +++ b/gstreamer-gl/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/abi.rs b/gstreamer-gl/sys/tests/abi.rs index ad831209f..fc997909e 100644 --- a/gstreamer-gl/sys/tests/abi.rs +++ b/gstreamer-gl/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/constant.c b/gstreamer-gl/sys/tests/constant.c index 0f7976196..e76de4b57 100644 --- a/gstreamer-gl/sys/tests/constant.c +++ b/gstreamer-gl/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/layout.c b/gstreamer-gl/sys/tests/layout.c index 715047d20..671a4dd83 100644 --- a/gstreamer-gl/sys/tests/layout.c +++ b/gstreamer-gl/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/wayland/sys/build.rs b/gstreamer-gl/wayland/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-gl/wayland/sys/build.rs +++ b/gstreamer-gl/wayland/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/src/lib.rs b/gstreamer-gl/wayland/sys/src/lib.rs index 59774ca6e..633161e3c 100644 --- a/gstreamer-gl/wayland/sys/src/lib.rs +++ b/gstreamer-gl/wayland/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/abi.rs b/gstreamer-gl/wayland/sys/tests/abi.rs index c2a30c2b5..79a78bf61 100644 --- a/gstreamer-gl/wayland/sys/tests/abi.rs +++ b/gstreamer-gl/wayland/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/constant.c b/gstreamer-gl/wayland/sys/tests/constant.c index 5299177e4..cfe740b5e 100644 --- a/gstreamer-gl/wayland/sys/tests/constant.c +++ b/gstreamer-gl/wayland/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/layout.c b/gstreamer-gl/wayland/sys/tests/layout.c index e234b874b..a7372aa76 100644 --- a/gstreamer-gl/wayland/sys/tests/layout.c +++ b/gstreamer-gl/wayland/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/x11/sys/build.rs b/gstreamer-gl/x11/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-gl/x11/sys/build.rs +++ b/gstreamer-gl/x11/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/src/lib.rs b/gstreamer-gl/x11/sys/src/lib.rs index 0301a2ff2..4147723eb 100644 --- a/gstreamer-gl/x11/sys/src/lib.rs +++ b/gstreamer-gl/x11/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/abi.rs b/gstreamer-gl/x11/sys/tests/abi.rs index 678c073b1..d50eb236a 100644 --- a/gstreamer-gl/x11/sys/tests/abi.rs +++ b/gstreamer-gl/x11/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/constant.c b/gstreamer-gl/x11/sys/tests/constant.c index 5299177e4..cfe740b5e 100644 --- a/gstreamer-gl/x11/sys/tests/constant.c +++ b/gstreamer-gl/x11/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/layout.c b/gstreamer-gl/x11/sys/tests/layout.c index da4e59ed4..fe429eb64 100644 --- a/gstreamer-gl/x11/sys/tests/layout.c +++ b/gstreamer-gl/x11/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/build.rs b/gstreamer-mpegts/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-mpegts/sys/build.rs +++ b/gstreamer-mpegts/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/src/lib.rs b/gstreamer-mpegts/sys/src/lib.rs index d48d17284..bcc85b482 100644 --- a/gstreamer-mpegts/sys/src/lib.rs +++ b/gstreamer-mpegts/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/abi.rs b/gstreamer-mpegts/sys/tests/abi.rs index 9fab38f9e..399c76e13 100644 --- a/gstreamer-mpegts/sys/tests/abi.rs +++ b/gstreamer-mpegts/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/constant.c b/gstreamer-mpegts/sys/tests/constant.c index 8e8e693b7..50fb09bfa 100644 --- a/gstreamer-mpegts/sys/tests/constant.c +++ b/gstreamer-mpegts/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/layout.c b/gstreamer-mpegts/sys/tests/layout.c index b843d115e..c9f9023ae 100644 --- a/gstreamer-mpegts/sys/tests/layout.c +++ b/gstreamer-mpegts/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-net/sys/build.rs b/gstreamer-net/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-net/sys/build.rs +++ b/gstreamer-net/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/src/lib.rs b/gstreamer-net/sys/src/lib.rs index f699ee35d..842d695bf 100644 --- a/gstreamer-net/sys/src/lib.rs +++ b/gstreamer-net/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/abi.rs b/gstreamer-net/sys/tests/abi.rs index 7d61bb23b..86edfe54b 100644 --- a/gstreamer-net/sys/tests/abi.rs +++ b/gstreamer-net/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/constant.c b/gstreamer-net/sys/tests/constant.c index 90938c3f3..1289f5026 100644 --- a/gstreamer-net/sys/tests/constant.c +++ b/gstreamer-net/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/layout.c b/gstreamer-net/sys/tests/layout.c index 2ce62fd33..f3a80e702 100644 --- a/gstreamer-net/sys/tests/layout.c +++ b/gstreamer-net/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-pbutils/sys/build.rs b/gstreamer-pbutils/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-pbutils/sys/build.rs +++ b/gstreamer-pbutils/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/src/lib.rs b/gstreamer-pbutils/sys/src/lib.rs index 64e033975..59341fe67 100644 --- a/gstreamer-pbutils/sys/src/lib.rs +++ b/gstreamer-pbutils/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/abi.rs b/gstreamer-pbutils/sys/tests/abi.rs index d70f6bec7..847e009bf 100644 --- a/gstreamer-pbutils/sys/tests/abi.rs +++ b/gstreamer-pbutils/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/constant.c b/gstreamer-pbutils/sys/tests/constant.c index 863bb0d40..151d0f987 100644 --- a/gstreamer-pbutils/sys/tests/constant.c +++ b/gstreamer-pbutils/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/layout.c b/gstreamer-pbutils/sys/tests/layout.c index 68c20d77b..344434411 100644 --- a/gstreamer-pbutils/sys/tests/layout.c +++ b/gstreamer-pbutils/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-player/sys/build.rs b/gstreamer-player/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-player/sys/build.rs +++ b/gstreamer-player/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/src/lib.rs b/gstreamer-player/sys/src/lib.rs index b3f0042b6..d8341a40d 100644 --- a/gstreamer-player/sys/src/lib.rs +++ b/gstreamer-player/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/abi.rs b/gstreamer-player/sys/tests/abi.rs index cd56d3c58..65e216aca 100644 --- a/gstreamer-player/sys/tests/abi.rs +++ b/gstreamer-player/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/constant.c b/gstreamer-player/sys/tests/constant.c index bb4f6e06d..3d887aa07 100644 --- a/gstreamer-player/sys/tests/constant.c +++ b/gstreamer-player/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/layout.c b/gstreamer-player/sys/tests/layout.c index cbf43a8ad..a6e6d22ee 100644 --- a/gstreamer-player/sys/tests/layout.c +++ b/gstreamer-player/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-rtp/sys/build.rs b/gstreamer-rtp/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-rtp/sys/build.rs +++ b/gstreamer-rtp/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/src/lib.rs b/gstreamer-rtp/sys/src/lib.rs index 08895196f..250e8293a 100644 --- a/gstreamer-rtp/sys/src/lib.rs +++ b/gstreamer-rtp/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/abi.rs b/gstreamer-rtp/sys/tests/abi.rs index 90d4b2770..d3d2ae6ff 100644 --- a/gstreamer-rtp/sys/tests/abi.rs +++ b/gstreamer-rtp/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/constant.c b/gstreamer-rtp/sys/tests/constant.c index 8683f7afc..98fdb4240 100644 --- a/gstreamer-rtp/sys/tests/constant.c +++ b/gstreamer-rtp/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/layout.c b/gstreamer-rtp/sys/tests/layout.c index edc030dd3..8b4879e65 100644 --- a/gstreamer-rtp/sys/tests/layout.c +++ b/gstreamer-rtp/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs index f7ed42257..6b98bbba1 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs @@ -280,6 +280,12 @@ pub trait RTSPStreamExt: 'static { rtpbin: &Q, ) -> Result<(), glib::error::BoolError>; + #[doc(alias = "gst_rtsp_stream_recv_rtcp")] + fn recv_rtcp(&self, buffer: &gst::Buffer) -> Result; + + #[doc(alias = "gst_rtsp_stream_recv_rtp")] + fn recv_rtp(&self, buffer: &gst::Buffer) -> Result; + #[doc(alias = "gst_rtsp_stream_remove_transport")] fn remove_transport>( &self, @@ -894,6 +900,24 @@ impl> RTSPStreamExt for O { } } + fn recv_rtcp(&self, buffer: &gst::Buffer) -> Result { + unsafe { + gst::FlowSuccess::try_from_glib(ffi::gst_rtsp_stream_recv_rtcp( + self.as_ref().to_glib_none().0, + buffer.to_glib_full(), + )) + } + } + + fn recv_rtp(&self, buffer: &gst::Buffer) -> Result { + unsafe { + gst::FlowSuccess::try_from_glib(ffi::gst_rtsp_stream_recv_rtp( + self.as_ref().to_glib_none().0, + buffer.to_glib_full(), + )) + } + } + fn remove_transport>( &self, trans: &P, diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs index acf1db762..5af66ff11 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs @@ -53,6 +53,13 @@ pub trait RTSPStreamTransportExt: 'static { #[doc(alias = "gst_rtsp_stream_transport_message_sent")] fn message_sent(&self); + #[doc(alias = "gst_rtsp_stream_transport_recv_data")] + fn recv_data( + &self, + channel: u32, + buffer: &gst::Buffer, + ) -> Result; + #[doc(alias = "gst_rtsp_stream_transport_send_rtcp")] fn send_rtcp(&self, buffer: &gst::Buffer) -> Result<(), glib::error::BoolError>; @@ -153,6 +160,20 @@ impl> RTSPStreamTransportExt for O { } } + fn recv_data( + &self, + channel: u32, + buffer: &gst::Buffer, + ) -> Result { + unsafe { + gst::FlowSuccess::try_from_glib(ffi::gst_rtsp_stream_transport_recv_data( + self.as_ref().to_glib_none().0, + channel, + buffer.to_glib_full(), + )) + } + } + fn send_rtcp(&self, buffer: &gst::Buffer) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-rtsp-server/sys/build.rs b/gstreamer-rtsp-server/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-rtsp-server/sys/build.rs +++ b/gstreamer-rtsp-server/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/src/lib.rs b/gstreamer-rtsp-server/sys/src/lib.rs index f40555ad8..503b85faf 100644 --- a/gstreamer-rtsp-server/sys/src/lib.rs +++ b/gstreamer-rtsp-server/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/abi.rs b/gstreamer-rtsp-server/sys/tests/abi.rs index 3583837fc..e4c0049b0 100644 --- a/gstreamer-rtsp-server/sys/tests/abi.rs +++ b/gstreamer-rtsp-server/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/constant.c b/gstreamer-rtsp-server/sys/tests/constant.c index f501fedde..32ed527d6 100644 --- a/gstreamer-rtsp-server/sys/tests/constant.c +++ b/gstreamer-rtsp-server/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/layout.c b/gstreamer-rtsp-server/sys/tests/layout.c index ef3a270b2..55b96bca5 100644 --- a/gstreamer-rtsp-server/sys/tests/layout.c +++ b/gstreamer-rtsp-server/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-rtsp/sys/build.rs b/gstreamer-rtsp/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-rtsp/sys/build.rs +++ b/gstreamer-rtsp/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/src/lib.rs b/gstreamer-rtsp/sys/src/lib.rs index 9b0e4522a..9e162e338 100644 --- a/gstreamer-rtsp/sys/src/lib.rs +++ b/gstreamer-rtsp/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/abi.rs b/gstreamer-rtsp/sys/tests/abi.rs index 1f3b6b899..98c978d74 100644 --- a/gstreamer-rtsp/sys/tests/abi.rs +++ b/gstreamer-rtsp/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/constant.c b/gstreamer-rtsp/sys/tests/constant.c index d7d5f7400..9940c5cbb 100644 --- a/gstreamer-rtsp/sys/tests/constant.c +++ b/gstreamer-rtsp/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/layout.c b/gstreamer-rtsp/sys/tests/layout.c index adfbc1779..4d259dd3d 100644 --- a/gstreamer-rtsp/sys/tests/layout.c +++ b/gstreamer-rtsp/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-sdp/sys/build.rs b/gstreamer-sdp/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-sdp/sys/build.rs +++ b/gstreamer-sdp/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/src/lib.rs b/gstreamer-sdp/sys/src/lib.rs index b17a8cd6d..c6e82614e 100644 --- a/gstreamer-sdp/sys/src/lib.rs +++ b/gstreamer-sdp/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/abi.rs b/gstreamer-sdp/sys/tests/abi.rs index b1b54e1c1..85b1553f5 100644 --- a/gstreamer-sdp/sys/tests/abi.rs +++ b/gstreamer-sdp/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/constant.c b/gstreamer-sdp/sys/tests/constant.c index 59cf9028e..87f7647eb 100644 --- a/gstreamer-sdp/sys/tests/constant.c +++ b/gstreamer-sdp/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/layout.c b/gstreamer-sdp/sys/tests/layout.c index 2d8cc67bb..6a19d5973 100644 --- a/gstreamer-sdp/sys/tests/layout.c +++ b/gstreamer-sdp/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/build.rs b/gstreamer-tag/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-tag/sys/build.rs +++ b/gstreamer-tag/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/src/lib.rs b/gstreamer-tag/sys/src/lib.rs index 988f9bfaa..98f6ea757 100644 --- a/gstreamer-tag/sys/src/lib.rs +++ b/gstreamer-tag/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/abi.rs b/gstreamer-tag/sys/tests/abi.rs index b4dc86aa2..d75c2287e 100644 --- a/gstreamer-tag/sys/tests/abi.rs +++ b/gstreamer-tag/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/constant.c b/gstreamer-tag/sys/tests/constant.c index 85b7acd3e..aa511d626 100644 --- a/gstreamer-tag/sys/tests/constant.c +++ b/gstreamer-tag/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/layout.c b/gstreamer-tag/sys/tests/layout.c index 9c01f1baa..273a99195 100644 --- a/gstreamer-tag/sys/tests/layout.c +++ b/gstreamer-tag/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-video/src/auto/video_decoder.rs b/gstreamer-video/src/auto/video_decoder.rs index f1800b8ac..c190b995b 100644 --- a/gstreamer-video/src/auto/video_decoder.rs +++ b/gstreamer-video/src/auto/video_decoder.rs @@ -80,6 +80,9 @@ pub trait VideoDecoderExt: 'static { #[doc(alias = "get_qos_proportion")] fn qos_proportion(&self) -> f64; + #[doc(alias = "gst_video_decoder_have_frame")] + fn have_frame(&self) -> gst::FlowReturn; + #[doc(alias = "gst_video_decoder_merge_tags")] fn merge_tags(&self, tags: Option<&gst::TagList>, mode: gst::TagMergeMode); @@ -188,6 +191,14 @@ impl> VideoDecoderExt for O { unsafe { ffi::gst_video_decoder_get_qos_proportion(self.as_ref().to_glib_none().0) } } + fn have_frame(&self) -> gst::FlowReturn { + unsafe { + from_glib(ffi::gst_video_decoder_have_frame( + self.as_ref().to_glib_none().0, + )) + } + } + fn merge_tags(&self, tags: Option<&gst::TagList>, mode: gst::TagMergeMode) { unsafe { ffi::gst_video_decoder_merge_tags( diff --git a/gstreamer-video/sys/build.rs b/gstreamer-video/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-video/sys/build.rs +++ b/gstreamer-video/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/src/lib.rs b/gstreamer-video/sys/src/lib.rs index 4a3435d81..84b0c65cc 100644 --- a/gstreamer-video/sys/src/lib.rs +++ b/gstreamer-video/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/abi.rs b/gstreamer-video/sys/tests/abi.rs index 9962acaa3..bd8591fc9 100644 --- a/gstreamer-video/sys/tests/abi.rs +++ b/gstreamer-video/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/constant.c b/gstreamer-video/sys/tests/constant.c index 3e3911070..11d8d4fa8 100644 --- a/gstreamer-video/sys/tests/constant.c +++ b/gstreamer-video/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/layout.c b/gstreamer-video/sys/tests/layout.c index 3eb43b7a1..2c7e5d996 100644 --- a/gstreamer-video/sys/tests/layout.c +++ b/gstreamer-video/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-webrtc/sys/build.rs b/gstreamer-webrtc/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer-webrtc/sys/build.rs +++ b/gstreamer-webrtc/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/src/lib.rs b/gstreamer-webrtc/sys/src/lib.rs index a212a8f4f..745d47200 100644 --- a/gstreamer-webrtc/sys/src/lib.rs +++ b/gstreamer-webrtc/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/abi.rs b/gstreamer-webrtc/sys/tests/abi.rs index ae850d807..9efada821 100644 --- a/gstreamer-webrtc/sys/tests/abi.rs +++ b/gstreamer-webrtc/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/constant.c b/gstreamer-webrtc/sys/tests/constant.c index b47a5fc37..73a471c37 100644 --- a/gstreamer-webrtc/sys/tests/constant.c +++ b/gstreamer-webrtc/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/layout.c b/gstreamer-webrtc/sys/tests/layout.c index a5208e748..d8a5d880f 100644 --- a/gstreamer-webrtc/sys/tests/layout.c +++ b/gstreamer-webrtc/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index f9f3d6427..5a8da2386 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -65,12 +65,12 @@ impl Clock { //} //#[doc(alias = "gst_clock_id_wait")] - //pub fn id_wait(id: /*Unimplemented*/ClockID) -> (ClockReturn, ClockTimeDiff) { + //pub fn id_wait(id: /*Unimplemented*/ClockID) -> (Result, ClockTimeDiff) { // unsafe { TODO: call ffi:gst_clock_id_wait() } //} //#[doc(alias = "gst_clock_id_wait_async")] - //pub fn id_wait_async(id: /*Unimplemented*/ClockID, func: /*Unimplemented*/Fn(&Clock, ClockTime, /*Unimplemented*/ClockID) -> bool, user_data: /*Unimplemented*/Option) -> ClockReturn { + //pub fn id_wait_async(id: /*Unimplemented*/ClockID, func: /*Unimplemented*/Fn(&Clock, ClockTime, /*Unimplemented*/ClockID) -> bool, user_data: /*Unimplemented*/Option) -> Result { // unsafe { TODO: call ffi:gst_clock_id_wait_async() } //} } diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index 5da8511a7..d4b53ff7e 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -13,6 +13,11 @@ use crate::Object; use crate::Pad; use crate::PadLinkCheck; use crate::PadTemplate; +use crate::State; +use crate::StateChange; +use crate::StateChangeError; +use crate::StateChangeReturn; +use crate::StateChangeSuccess; use crate::URIType; use glib::object::Cast; use glib::object::IsA; @@ -20,6 +25,7 @@ use glib::signal::connect_raw; use glib::signal::SignalHandlerId; use glib::translate::*; use std::boxed::Box as Box_; +use std::mem; use std::mem::transmute; use std::ptr; @@ -68,6 +74,16 @@ pub trait ElementExt: 'static { #[doc(alias = "gst_element_add_pad")] fn add_pad>(&self, pad: &P) -> Result<(), glib::error::BoolError>; + #[doc(alias = "gst_element_change_state")] + fn change_state(&self, transition: StateChange) + -> Result; + + #[doc(alias = "gst_element_continue_state")] + fn continue_state( + &self, + ret: impl Into, + ) -> Result; + #[doc(alias = "gst_element_create_all_pads")] fn create_all_pads(&self); @@ -126,6 +142,13 @@ pub trait ElementExt: 'static { #[doc(alias = "get_start_time")] fn start_time(&self) -> ClockTime; + #[doc(alias = "gst_element_get_state")] + #[doc(alias = "get_state")] + fn state( + &self, + timeout: ClockTime, + ) -> (Result, State, State); + #[doc(alias = "gst_element_get_static_pad")] #[doc(alias = "get_static_pad")] fn static_pad(&self, name: &str) -> Option; @@ -230,6 +253,9 @@ pub trait ElementExt: 'static { #[doc(alias = "gst_element_set_start_time")] fn set_start_time(&self, time: ClockTime); + #[doc(alias = "gst_element_set_state")] + fn set_state(&self, state: State) -> Result; + #[doc(alias = "gst_element_sync_state_with_parent")] fn sync_state_with_parent(&self) -> Result<(), glib::error::BoolError>; @@ -277,6 +303,30 @@ impl> ElementExt for O { } } + fn change_state( + &self, + transition: StateChange, + ) -> Result { + unsafe { + StateChangeSuccess::try_from_glib(ffi::gst_element_change_state( + self.as_ref().to_glib_none().0, + transition.into_glib(), + )) + } + } + + fn continue_state( + &self, + ret: impl Into, + ) -> Result { + unsafe { + StateChangeSuccess::try_from_glib(ffi::gst_element_continue_state( + self.as_ref().to_glib_none().0, + ret.into().into_glib(), + )) + } + } + fn create_all_pads(&self) { unsafe { ffi::gst_element_create_all_pads(self.as_ref().to_glib_none().0); @@ -434,6 +484,25 @@ impl> ElementExt for O { } } + fn state( + &self, + timeout: ClockTime, + ) -> (Result, State, State) { + unsafe { + let mut state = mem::MaybeUninit::uninit(); + let mut pending = mem::MaybeUninit::uninit(); + let ret = StateChangeSuccess::try_from_glib(ffi::gst_element_get_state( + self.as_ref().to_glib_none().0, + state.as_mut_ptr(), + pending.as_mut_ptr(), + timeout.into_glib(), + )); + let state = state.assume_init(); + let pending = pending.assume_init(); + (ret, from_glib(state), from_glib(pending)) + } + } + fn static_pad(&self, name: &str) -> Option { unsafe { from_glib_full(ffi::gst_element_get_static_pad( @@ -669,6 +738,15 @@ impl> ElementExt for O { } } + fn set_state(&self, state: State) -> Result { + unsafe { + StateChangeSuccess::try_from_glib(ffi::gst_element_set_state( + self.as_ref().to_glib_none().0, + state.into_glib(), + )) + } + } + fn sync_state_with_parent(&self) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index 0e502ca3b..5f5e482ca 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -7,11 +7,13 @@ use crate::Caps; use crate::Element; use crate::Event; use crate::EventType; +use crate::FlowError; +use crate::FlowSuccess; use crate::Object; use crate::PadDirection; -#[cfg(any(feature = "v1_10", feature = "dox"))] -#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] use crate::PadLinkCheck; +use crate::PadLinkError; +use crate::PadLinkSuccess; use crate::PadMode; use crate::PadTemplate; #[cfg(any(feature = "v1_10", feature = "dox"))] @@ -84,6 +86,10 @@ pub trait PadExt: 'static { //#[doc(alias = "get_element_private")] //fn element_private(&self) -> /*Unimplemented*/Option; + #[doc(alias = "gst_pad_get_last_flow_return")] + #[doc(alias = "get_last_flow_return")] + fn last_flow_result(&self) -> Result; + #[doc(alias = "gst_pad_get_offset")] #[doc(alias = "get_offset")] fn offset(&self) -> i64; @@ -151,6 +157,16 @@ pub trait PadExt: 'static { //#[doc(alias = "gst_pad_iterate_internal_links_default")] //fn iterate_internal_links_default>(&self, parent: Option<&P>) -> /*Ignored*/Option; + #[doc(alias = "gst_pad_link")] + fn link>(&self, sinkpad: &P) -> Result; + + #[doc(alias = "gst_pad_link_full")] + fn link_full>( + &self, + sinkpad: &P, + flags: PadLinkCheck, + ) -> Result; + #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] #[doc(alias = "gst_pad_link_maybe_ghosting")] @@ -198,6 +214,9 @@ pub trait PadExt: 'static { #[doc(alias = "gst_pad_stop_task")] fn stop_task(&self) -> Result<(), glib::error::BoolError>; + #[doc(alias = "gst_pad_store_sticky_event")] + fn store_sticky_event(&self, event: &Event) -> Result; + #[doc(alias = "gst_pad_unlink")] fn unlink>(&self, sinkpad: &P) -> Result<(), glib::error::BoolError>; @@ -319,6 +338,14 @@ impl> PadExt for O { // unsafe { TODO: call ffi:gst_pad_get_element_private() } //} + fn last_flow_result(&self) -> Result { + unsafe { + FlowSuccess::try_from_glib(ffi::gst_pad_get_last_flow_return( + self.as_ref().to_glib_none().0, + )) + } + } + fn offset(&self) -> i64 { unsafe { ffi::gst_pad_get_offset(self.as_ref().to_glib_none().0) } } @@ -419,6 +446,29 @@ impl> PadExt for O { // unsafe { TODO: call ffi:gst_pad_iterate_internal_links_default() } //} + fn link>(&self, sinkpad: &P) -> Result { + unsafe { + PadLinkSuccess::try_from_glib(ffi::gst_pad_link( + self.as_ref().to_glib_none().0, + sinkpad.as_ref().to_glib_none().0, + )) + } + } + + fn link_full>( + &self, + sinkpad: &P, + flags: PadLinkCheck, + ) -> Result { + unsafe { + PadLinkSuccess::try_from_glib(ffi::gst_pad_link_full( + self.as_ref().to_glib_none().0, + sinkpad.as_ref().to_glib_none().0, + flags.into_glib(), + )) + } + } + #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] fn link_maybe_ghosting>(&self, sink: &P) -> Result<(), glib::error::BoolError> { @@ -539,6 +589,15 @@ impl> PadExt for O { } } + fn store_sticky_event(&self, event: &Event) -> Result { + unsafe { + FlowSuccess::try_from_glib(ffi::gst_pad_store_sticky_event( + self.as_ref().to_glib_none().0, + event.to_glib_none().0, + )) + } + } + fn unlink>(&self, sinkpad: &P) -> Result<(), glib::error::BoolError> { unsafe { glib::result_from_gboolean!( diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index 1ed8d5e7b..8c5c4acf5 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 @ b5ff6f8) +Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer/sys/build.rs b/gstreamer/sys/build.rs index 0cbbd0fe4..3fee6c2e8 100644 --- a/gstreamer/sys/build.rs +++ b/gstreamer/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/src/lib.rs b/gstreamer/sys/src/lib.rs index f71c88cf3..2119cb706 100644 --- a/gstreamer/sys/src/lib.rs +++ b/gstreamer/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/tests/abi.rs b/gstreamer/sys/tests/abi.rs index f8836a7ce..c1afbbce7 100644 --- a/gstreamer/sys/tests/abi.rs +++ b/gstreamer/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/tests/constant.c b/gstreamer/sys/tests/constant.c index 90825bd73..7428bee74 100644 --- a/gstreamer/sys/tests/constant.c +++ b/gstreamer/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/tests/layout.c b/gstreamer/sys/tests/layout.c index 7ec536bf7..1f2a08a4c 100644 --- a/gstreamer/sys/tests/layout.c +++ b/gstreamer/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ b5ff6f8) +// Generated by gir (https://github.com/gtk-rs/gir @ e2661d8) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT