From 70fd572a46a488d38d0251a7aaada255e41321d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 11 Aug 2020 10:49:37 +0300 Subject: [PATCH] Regenerate everything --- Gir_GstBase.toml | 15 ++++ Gir_GstVideo.toml | 19 +++- gstreamer-app/src/auto/app_src.rs | 89 ++++++++++++------ gstreamer-app/src/auto/versions.txt | 2 +- gstreamer-audio/src/auto/versions.txt | 2 +- gstreamer-base/src/auto/aggregator.rs | 90 +++++++++++++++++++ gstreamer-base/src/auto/base_src.rs | 1 + gstreamer-base/src/auto/enums.rs | 9 ++ gstreamer-base/src/auto/mod.rs | 1 - gstreamer-base/src/auto/versions.txt | 2 +- gstreamer-check/src/auto/versions.txt | 2 +- .../src/auto/timeline.rs | 48 +++++++++- .../src/auto/versions.txt | 2 +- gstreamer-gl/src/auto/gl_display.rs | 12 --- gstreamer-gl/src/auto/gl_display_egl.rs | 10 +++ gstreamer-gl/src/auto/versions.txt | 2 +- gstreamer-net/src/auto/versions.txt | 2 +- gstreamer-pbutils/src/auto/versions.txt | 2 +- gstreamer-player/src/auto/versions.txt | 2 +- gstreamer-rtp/src/auto/versions.txt | 2 +- gstreamer-rtsp-server/src/auto/versions.txt | 2 +- gstreamer-rtsp/src/auto/versions.txt | 2 +- gstreamer-sdp/src/auto/versions.txt | 2 +- gstreamer-video/src/auto/enums.rs | 24 +++++ gstreamer-video/src/auto/versions.txt | 2 +- gstreamer-webrtc/src/auto/versions.txt | 2 +- gstreamer/src/auto/versions.txt | 2 +- 27 files changed, 290 insertions(+), 60 deletions(-) diff --git a/Gir_GstBase.toml b/Gir_GstBase.toml index 9f160e1ba..b3ad494f0 100644 --- a/Gir_GstBase.toml +++ b/Gir_GstBase.toml @@ -170,6 +170,11 @@ manual_traits = ["BaseSrcExtManual"] # Use Result ignore = true + [[object.function]] + name = "new_segment" + # Segment parameter + ignore = true + [[object]] name = "GstBase.BaseTransform" status = "generate" @@ -191,6 +196,16 @@ manual_traits = ["AggregatorExtManual"] # Takes ownership ignore = true + [[object.function]] + name = "finish_buffer_list" + # Takes ownership + ignore = true + + [[object.function]] + name = "selected_samples" + # Info parameter + ignore = true + [[object.property]] name = "latency" version = "1.14" diff --git a/Gir_GstVideo.toml b/Gir_GstVideo.toml index 087726699..a25daef02 100644 --- a/Gir_GstVideo.toml +++ b/Gir_GstVideo.toml @@ -20,7 +20,6 @@ external_libraries = [ generate = [ "GstVideo.VideoCodecFrameFlags", "GstVideo.VideoFormatFlags", - "GstVideo.VideoTileMode", "GstVideo.VideoColorMatrix", "GstVideo.VideoMultiviewMode", "GstVideo.VideoFieldOrder", @@ -383,6 +382,14 @@ status = "generate" name = "y412_le" version = "1.18" + [[object.member]] + name = "nv12_4l4" + version = "1.18" + + [[object.member]] + name = "nv12_32l32" + version = "1.18" + [[object]] name = "GstVideo.VideoSink" status = "generate" @@ -492,6 +499,9 @@ status = "generate" [[object.member]] name = "arib_std_b67" version = "1.18" + [[object.member]] + name = "bt601" + version = "1.18" [[object]] name = "GstVideo.VideoColorPrimaries" @@ -508,3 +518,10 @@ status = "generate" [[object.member]] name = "ebu3213" version = "1.16" + +[[object]] +name = "GstVideo.VideoTileMode" +status = "generate" + [[object.member]] + name = "linear" + version = "1.18" diff --git a/gstreamer-app/src/auto/app_src.rs b/gstreamer-app/src/auto/app_src.rs index cd0348bad..e9cbdbb19 100644 --- a/gstreamer-app/src/auto/app_src.rs +++ b/gstreamer-app/src/auto/app_src.rs @@ -130,31 +130,6 @@ impl AppSrc { } } - pub fn get_property_duration(&self) -> u64 { - unsafe { - let mut value = Value::from_type(::static_type()); - gobject_sys::g_object_get_property( - self.as_ptr() as *mut gobject_sys::GObject, - b"duration\0".as_ptr() as *const _, - value.to_glib_none_mut().0, - ); - value - .get() - .expect("Return Value for property `duration` getter") - .unwrap() - } - } - - pub fn set_property_duration(&self, duration: u64) { - unsafe { - gobject_sys::g_object_set_property( - self.as_ptr() as *mut gobject_sys::GObject, - b"duration\0".as_ptr() as *const _, - Value::from(&duration).to_glib_none().0, - ); - } - } - pub fn get_property_format(&self) -> gst::Format { unsafe { let mut value = Value::from_type(::static_type()); @@ -180,6 +155,33 @@ impl AppSrc { } } + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn get_property_handle_segment_change(&self) -> bool { + unsafe { + let mut value = Value::from_type(::static_type()); + gobject_sys::g_object_get_property( + self.as_ptr() as *mut gobject_sys::GObject, + b"handle-segment-change\0".as_ptr() as *const _, + value.to_glib_none_mut().0, + ); + value + .get() + .expect("Return Value for property `handle-segment-change` getter") + .unwrap() + } + } + + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn set_property_handle_segment_change(&self, handle_segment_change: bool) { + unsafe { + gobject_sys::g_object_set_property( + self.as_ptr() as *mut gobject_sys::GObject, + b"handle-segment-change\0".as_ptr() as *const _, + Value::from(&handle_segment_change).to_glib_none().0, + ); + } + } + pub fn get_property_is_live(&self) -> bool { unsafe { let mut value = Value::from_type(::static_type()); @@ -310,11 +312,11 @@ impl AppSrc { ) -> SignalHandlerId { unsafe extern "C" fn need_data_trampoline( this: *mut gst_app_sys::GstAppSrc, - length: libc::c_uint, + object: libc::c_uint, f: glib_sys::gpointer, ) { let f: &F = &*(f as *const F); - f(&from_glib_borrow(this), length) + f(&from_glib_borrow(this), object) } unsafe { let f: Box_ = Box_::new(f); @@ -337,11 +339,11 @@ impl AppSrc { F: Fn(&AppSrc, u64) -> bool + Send + Sync + 'static, >( this: *mut gst_app_sys::GstAppSrc, - offset: u64, + object: u64, f: glib_sys::gpointer, ) -> glib_sys::gboolean { let f: &F = &*(f as *const F); - f(&from_glib_borrow(this), offset).to_glib() + f(&from_glib_borrow(this), object).to_glib() } unsafe { let f: Box_ = Box_::new(f); @@ -433,6 +435,7 @@ impl AppSrc { } } + #[cfg(any(feature = "v1_10", feature = "dox"))] pub fn connect_property_duration_notify( &self, f: F, @@ -510,6 +513,34 @@ impl AppSrc { } } + #[cfg(any(feature = "v1_18", feature = "dox"))] + pub fn connect_property_handle_segment_change_notify( + &self, + f: F, + ) -> SignalHandlerId { + unsafe extern "C" fn notify_handle_segment_change_trampoline< + F: Fn(&AppSrc) + Send + Sync + 'static, + >( + this: *mut gst_app_sys::GstAppSrc, + _param_spec: glib_sys::gpointer, + f: glib_sys::gpointer, + ) { + let f: &F = &*(f as *const F); + f(&from_glib_borrow(this)) + } + unsafe { + let f: Box_ = Box_::new(f); + connect_raw( + self.as_ptr() as *mut _, + b"notify::handle-segment-change\0".as_ptr() as *const _, + Some(transmute::<_, unsafe extern "C" fn()>( + notify_handle_segment_change_trampoline:: as *const (), + )), + Box_::into_raw(f), + ) + } + } + pub fn connect_property_is_live_notify( &self, f: F, diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-app/src/auto/versions.txt +++ b/gstreamer-app/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-audio/src/auto/versions.txt +++ b/gstreamer-audio/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-base/src/auto/aggregator.rs b/gstreamer-base/src/auto/aggregator.rs index c178f20a4..0eb251a24 100644 --- a/gstreamer-base/src/auto/aggregator.rs +++ b/gstreamer-base/src/auto/aggregator.rs @@ -16,6 +16,8 @@ use gst_base_sys; use std::boxed::Box as Box_; use std::mem::transmute; #[cfg(any(feature = "v1_18", feature = "dox"))] +use AggregatorPad; +#[cfg(any(feature = "v1_18", feature = "dox"))] use AggregatorStartTimeSelection; glib_wrapper! { @@ -44,6 +46,9 @@ pub trait AggregatorExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] fn negotiate(&self) -> bool; + #[cfg(any(feature = "v1_18", feature = "dox"))] + fn peek_next_sample>(&self, pad: &P) -> Option; + #[cfg(any(feature = "v1_14", feature = "dox"))] fn set_latency(&self, min_latency: gst::ClockTime, max_latency: gst::ClockTime); @@ -56,6 +61,12 @@ pub trait AggregatorExt: 'static { //#[cfg(any(feature = "v1_18", feature = "dox"))] //fn update_segment(&self, segment: /*Ignored*/&gst::Segment); + #[cfg(any(feature = "v1_18", feature = "dox"))] + fn get_property_emit_signals(&self) -> bool; + + #[cfg(any(feature = "v1_18", feature = "dox"))] + fn set_property_emit_signals(&self, emit_signals: bool); + fn get_property_start_time(&self) -> u64; fn set_property_start_time(&self, start_time: u64); @@ -66,6 +77,15 @@ pub trait AggregatorExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] fn set_property_start_time_selection(&self, start_time_selection: AggregatorStartTimeSelection); + //#[cfg(any(feature = "v1_18", feature = "dox"))] + //fn connect_samples_selected(&self, f: F) -> SignalHandlerId; + + #[cfg(any(feature = "v1_18", feature = "dox"))] + fn connect_property_emit_signals_notify( + &self, + f: F, + ) -> SignalHandlerId; + #[cfg(any(feature = "v1_14", feature = "dox"))] fn connect_property_latency_notify( &self, @@ -117,6 +137,16 @@ impl> AggregatorExt for O { } } + #[cfg(any(feature = "v1_18", feature = "dox"))] + fn peek_next_sample>(&self, pad: &P) -> Option { + unsafe { + from_glib_full(gst_base_sys::gst_aggregator_peek_next_sample( + self.as_ref().to_glib_none().0, + pad.as_ref().to_glib_none().0, + )) + } + } + #[cfg(any(feature = "v1_14", feature = "dox"))] fn set_latency(&self, min_latency: gst::ClockTime, max_latency: gst::ClockTime) { unsafe { @@ -152,6 +182,33 @@ impl> AggregatorExt for O { // unsafe { TODO: call gst_base_sys:gst_aggregator_update_segment() } //} + #[cfg(any(feature = "v1_18", feature = "dox"))] + fn get_property_emit_signals(&self) -> bool { + unsafe { + let mut value = Value::from_type(::static_type()); + gobject_sys::g_object_get_property( + self.to_glib_none().0 as *mut gobject_sys::GObject, + b"emit-signals\0".as_ptr() as *const _, + value.to_glib_none_mut().0, + ); + value + .get() + .expect("Return Value for property `emit-signals` getter") + .unwrap() + } + } + + #[cfg(any(feature = "v1_18", feature = "dox"))] + fn set_property_emit_signals(&self, emit_signals: bool) { + unsafe { + gobject_sys::g_object_set_property( + self.to_glib_none().0 as *mut gobject_sys::GObject, + b"emit-signals\0".as_ptr() as *const _, + Value::from(&emit_signals).to_glib_none().0, + ); + } + } + fn get_property_start_time(&self) -> u64 { unsafe { let mut value = Value::from_type(::static_type()); @@ -208,6 +265,39 @@ impl> AggregatorExt for O { } } + //#[cfg(any(feature = "v1_18", feature = "dox"))] + //fn connect_samples_selected(&self, f: F) -> SignalHandlerId { + // Ignored object: Gst.Segment + //} + + #[cfg(any(feature = "v1_18", feature = "dox"))] + fn connect_property_emit_signals_notify( + &self, + f: F, + ) -> SignalHandlerId { + unsafe extern "C" fn notify_emit_signals_trampoline( + this: *mut gst_base_sys::GstAggregator, + _param_spec: glib_sys::gpointer, + f: glib_sys::gpointer, + ) where + P: IsA, + { + let f: &F = &*(f as *const F); + f(&Aggregator::from_glib_borrow(this).unsafe_cast_ref()) + } + unsafe { + let f: Box_ = Box_::new(f); + connect_raw( + self.as_ptr() as *mut _, + b"notify::emit-signals\0".as_ptr() as *const _, + Some(transmute::<_, unsafe extern "C" fn()>( + notify_emit_signals_trampoline:: as *const (), + )), + Box_::into_raw(f), + ) + } + } + #[cfg(any(feature = "v1_14", feature = "dox"))] fn connect_property_latency_notify( &self, diff --git a/gstreamer-base/src/auto/base_src.rs b/gstreamer-base/src/auto/base_src.rs index b6f06af0f..843f447c8 100644 --- a/gstreamer-base/src/auto/base_src.rs +++ b/gstreamer-base/src/auto/base_src.rs @@ -46,6 +46,7 @@ pub trait BaseSrcExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] fn negotiate(&self) -> bool; + #[cfg_attr(feature = "v1_18", deprecated)] fn new_seamless_segment(&self, start: i64, stop: i64, time: i64) -> bool; fn set_async(&self, async: bool); diff --git a/gstreamer-base/src/auto/enums.rs b/gstreamer-base/src/auto/enums.rs index 50ae3633a..03d42361b 100644 --- a/gstreamer-base/src/auto/enums.rs +++ b/gstreamer-base/src/auto/enums.rs @@ -2,14 +2,23 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +#[cfg(any(feature = "v1_18", feature = "dox"))] use glib::translate::*; +#[cfg(any(feature = "v1_18", feature = "dox"))] use glib::value::FromValue; +#[cfg(any(feature = "v1_18", feature = "dox"))] use glib::value::FromValueOptional; +#[cfg(any(feature = "v1_18", feature = "dox"))] use glib::value::SetValue; +#[cfg(any(feature = "v1_18", feature = "dox"))] use glib::value::Value; +#[cfg(any(feature = "v1_18", feature = "dox"))] use glib::StaticType; +#[cfg(any(feature = "v1_18", feature = "dox"))] use glib::Type; +#[cfg(any(feature = "v1_18", feature = "dox"))] use gobject_sys; +#[cfg(any(feature = "v1_18", feature = "dox"))] use gst_base_sys; #[cfg(any(feature = "v1_18", feature = "dox"))] diff --git a/gstreamer-base/src/auto/mod.rs b/gstreamer-base/src/auto/mod.rs index 83ff7dbbf..e5c33e91e 100644 --- a/gstreamer-base/src/auto/mod.rs +++ b/gstreamer-base/src/auto/mod.rs @@ -38,7 +38,6 @@ pub use self::base_transform::{BaseTransform, BaseTransformClass, NONE_BASE_TRAN mod push_src; pub use self::push_src::{PushSrc, PushSrcClass, NONE_PUSH_SRC}; -#[cfg(any(feature = "v1_18", feature = "dox"))] mod enums; #[cfg(any(feature = "v1_18", feature = "dox"))] pub use self::enums::AggregatorStartTimeSelection; diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-base/src/auto/versions.txt +++ b/gstreamer-base/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-check/src/auto/versions.txt +++ b/gstreamer-check/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-editing-services/src/auto/timeline.rs b/gstreamer-editing-services/src/auto/timeline.rs index e2020651e..7e8a88dff 100644 --- a/gstreamer-editing-services/src/auto/timeline.rs +++ b/gstreamer-editing-services/src/auto/timeline.rs @@ -15,6 +15,8 @@ use std::boxed::Box as Box_; use std::mem::transmute; use std::ptr; use Asset; +#[cfg(any(feature = "v1_18", feature = "dox"))] +use Clip; use Extractable; #[cfg(any(feature = "v1_18", feature = "dox"))] use FrameNumber; @@ -146,6 +148,12 @@ pub trait TimelineExt: 'static { fn connect_layer_removed(&self, f: F) -> SignalHandlerId; + #[cfg(any(feature = "v1_18", feature = "dox"))] + fn connect_select_element_track Track + 'static>( + &self, + f: F, + ) -> SignalHandlerId; + //fn connect_select_tracks_for_object(&self, f: F) -> SignalHandlerId; fn connect_snapping_ended( @@ -495,7 +503,7 @@ impl> TimelineExt for O { } //fn connect_group_removed(&self, f: F) -> SignalHandlerId { - // Empty ctype children: *.PtrArray TypeId { ns_id: 1, id: 53 } + // Empty ctype children: *.PtrArray TypeId { ns_id: 1, id: 54 } //} fn connect_layer_added(&self, f: F) -> SignalHandlerId { @@ -552,6 +560,44 @@ impl> TimelineExt for O { } } + #[cfg(any(feature = "v1_18", feature = "dox"))] + fn connect_select_element_track Track + 'static>( + &self, + f: F, + ) -> SignalHandlerId { + unsafe extern "C" fn select_element_track_trampoline< + P, + F: Fn(&P, &Clip, &TrackElement) -> Track + 'static, + >( + this: *mut ges_sys::GESTimeline, + clip: *mut ges_sys::GESClip, + track_element: *mut ges_sys::GESTrackElement, + f: glib_sys::gpointer, + ) -> *mut ges_sys::GESTrack + where + P: IsA, + { + let f: &F = &*(f as *const F); + f( + &Timeline::from_glib_borrow(this).unsafe_cast_ref(), + &from_glib_borrow(clip), + &from_glib_borrow(track_element), + ) + .to_glib_full() + } + unsafe { + let f: Box_ = Box_::new(f); + connect_raw( + self.as_ptr() as *mut _, + b"select-element-track\0".as_ptr() as *const _, + Some(transmute::<_, unsafe extern "C" fn()>( + select_element_track_trampoline:: as *const (), + )), + Box_::into_raw(f), + ) + } + } + //fn connect_select_tracks_for_object(&self, f: F) -> SignalHandlerId { // Empty ctype return value *.PtrArray TypeId { ns_id: 1, id: 17 } //} diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-editing-services/src/auto/versions.txt +++ b/gstreamer-editing-services/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-gl/src/auto/gl_display.rs b/gstreamer-gl/src/auto/gl_display.rs index ded68b67c..cc8064596 100644 --- a/gstreamer-gl/src/auto/gl_display.rs +++ b/gstreamer-gl/src/auto/gl_display.rs @@ -57,9 +57,6 @@ pub trait GLDisplayExt: 'static { fn filter_gl_api(&self, gl_api: GLAPI); - #[cfg(any(feature = "v1_18", feature = "dox"))] - fn get_foreign_display(&self) -> bool; - fn get_gl_api(&self) -> GLAPI; fn get_gl_api_unlocked(&self) -> GLAPI; @@ -132,15 +129,6 @@ impl> GLDisplayExt for O { } } - #[cfg(any(feature = "v1_18", feature = "dox"))] - fn get_foreign_display(&self) -> bool { - unsafe { - from_glib(gst_gl_sys::gst_gl_display_get_foreign_display( - self.as_ref().to_glib_none().0, - )) - } - } - fn get_gl_api(&self) -> GLAPI { unsafe { from_glib(gst_gl_sys::gst_gl_display_get_gl_api( diff --git a/gstreamer-gl/src/auto/gl_display_egl.rs b/gstreamer-gl/src/auto/gl_display_egl.rs index 8ef6b1588..d1bb7946e 100644 --- a/gstreamer-gl/src/auto/gl_display_egl.rs +++ b/gstreamer-gl/src/auto/gl_display_egl.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use glib::object::IsA; use glib::translate::*; use gst; use gst_gl_sys; @@ -25,6 +26,15 @@ impl GLDisplayEGL { // unsafe { TODO: call gst_gl_sys:gst_gl_display_egl_new_with_egl_display() } //} + pub fn from_gl_display>(display: &P) -> Option { + skip_assert_initialized!(); + unsafe { + from_glib_full(gst_gl_sys::gst_gl_display_egl_from_gl_display( + display.as_ref().to_glib_none().0, + )) + } + } + //pub fn get_from_native(type_: GLDisplayType, display: /*Unimplemented*/Fundamental: UIntPtr) -> /*Unimplemented*/Option { // unsafe { TODO: call gst_gl_sys:gst_gl_display_egl_get_from_native() } //} diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-gl/src/auto/versions.txt +++ b/gstreamer-gl/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-net/src/auto/versions.txt +++ b/gstreamer-net/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-pbutils/src/auto/versions.txt +++ b/gstreamer-pbutils/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-player/src/auto/versions.txt +++ b/gstreamer-player/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-rtp/src/auto/versions.txt +++ b/gstreamer-rtp/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-rtsp-server/src/auto/versions.txt +++ b/gstreamer-rtsp-server/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-rtsp/src/auto/versions.txt +++ b/gstreamer-rtsp/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-sdp/src/auto/versions.txt +++ b/gstreamer-sdp/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-video/src/auto/enums.rs b/gstreamer-video/src/auto/enums.rs index 25681573a..2e8d75a25 100644 --- a/gstreamer-video/src/auto/enums.rs +++ b/gstreamer-video/src/auto/enums.rs @@ -826,6 +826,10 @@ pub enum VideoFormat { Y412Be, #[cfg(any(feature = "v1_18", feature = "dox"))] Y412Le, + #[cfg(any(feature = "v1_18", feature = "dox"))] + Nv124l4, + #[cfg(any(feature = "v1_18", feature = "dox"))] + Nv1232l32, #[doc(hidden)] __Unknown(i32), } @@ -969,6 +973,10 @@ impl ToGlib for VideoFormat { VideoFormat::Y412Be => gst_video_sys::GST_VIDEO_FORMAT_Y412_BE, #[cfg(any(feature = "v1_18", feature = "dox"))] VideoFormat::Y412Le => gst_video_sys::GST_VIDEO_FORMAT_Y412_LE, + #[cfg(any(feature = "v1_18", feature = "dox"))] + VideoFormat::Nv124l4 => gst_video_sys::GST_VIDEO_FORMAT_NV12_4L4, + #[cfg(any(feature = "v1_18", feature = "dox"))] + VideoFormat::Nv1232l32 => gst_video_sys::GST_VIDEO_FORMAT_NV12_32L32, VideoFormat::__Unknown(value) => value, } } @@ -1112,6 +1120,10 @@ impl FromGlib for VideoFormat { 95 => VideoFormat::Y412Be, #[cfg(any(feature = "v1_18", feature = "dox"))] 96 => VideoFormat::Y412Le, + #[cfg(any(feature = "v1_18", feature = "dox"))] + 97 => VideoFormat::Nv124l4, + #[cfg(any(feature = "v1_18", feature = "dox"))] + 98 => VideoFormat::Nv1232l32, value => VideoFormat::__Unknown(value), } } @@ -1671,6 +1683,8 @@ impl SetValue for VideoResamplerMethod { pub enum VideoTileMode { Unknown, Zflipz2x2, + #[cfg(any(feature = "v1_18", feature = "dox"))] + Linear, #[doc(hidden)] __Unknown(i32), } @@ -1683,6 +1697,8 @@ impl ToGlib for VideoTileMode { match *self { VideoTileMode::Unknown => gst_video_sys::GST_VIDEO_TILE_MODE_UNKNOWN, VideoTileMode::Zflipz2x2 => gst_video_sys::GST_VIDEO_TILE_MODE_ZFLIPZ_2X2, + #[cfg(any(feature = "v1_18", feature = "dox"))] + VideoTileMode::Linear => gst_video_sys::GST_VIDEO_TILE_MODE_LINEAR, VideoTileMode::__Unknown(value) => value, } } @@ -1695,6 +1711,8 @@ impl FromGlib for VideoTileMode { match value { 0 => VideoTileMode::Unknown, 65536 => VideoTileMode::Zflipz2x2, + #[cfg(any(feature = "v1_18", feature = "dox"))] + 131072 => VideoTileMode::Linear, value => VideoTileMode::__Unknown(value), } } @@ -1746,6 +1764,8 @@ pub enum VideoTransferFunction { Smpte2084, #[cfg(any(feature = "v1_18", feature = "dox"))] AribStdB67, + #[cfg(any(feature = "v1_18", feature = "dox"))] + Bt601, #[doc(hidden)] __Unknown(i32), } @@ -1775,6 +1795,8 @@ impl ToGlib for VideoTransferFunction { VideoTransferFunction::Smpte2084 => gst_video_sys::GST_VIDEO_TRANSFER_SMPTE2084, #[cfg(any(feature = "v1_18", feature = "dox"))] VideoTransferFunction::AribStdB67 => gst_video_sys::GST_VIDEO_TRANSFER_ARIB_STD_B67, + #[cfg(any(feature = "v1_18", feature = "dox"))] + VideoTransferFunction::Bt601 => gst_video_sys::GST_VIDEO_TRANSFER_BT601, VideoTransferFunction::__Unknown(value) => value, } } @@ -1804,6 +1826,8 @@ impl FromGlib for VideoTransferFunction 14 => VideoTransferFunction::Smpte2084, #[cfg(any(feature = "v1_18", feature = "dox"))] 15 => VideoTransferFunction::AribStdB67, + #[cfg(any(feature = "v1_18", feature = "dox"))] + 16 => VideoTransferFunction::Bt601, value => VideoTransferFunction::__Unknown(value), } } diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-video/src/auto/versions.txt +++ b/gstreamer-video/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer-webrtc/src/auto/versions.txt +++ b/gstreamer-webrtc/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17) diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index 58a91ab4b..fd6259905 100644 --- a/gstreamer/src/auto/versions.txt +++ b/gstreamer/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 60cbef0) -from gir-files (https://github.com/gtk-rs/gir-files @ 2d4abeba) +from gir-files (https://github.com/gtk-rs/gir-files @ 2ec84e17)