From 8dfbc9e81184ff7ec5c2b29e6b3cf39c348132e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 19 Jun 2020 12:43:58 +0300 Subject: [PATCH] Regenerate --- gstreamer-app/src/auto/versions.txt | 4 ++-- gstreamer-audio/src/auto/versions.txt | 4 ++-- gstreamer-base/src/adapter.rs | 1 + gstreamer-base/src/auto/adapter.rs | 1 + gstreamer-base/src/auto/versions.txt | 4 ++-- gstreamer-check/src/auto/versions.txt | 4 ++-- gstreamer-editing-services/src/auto/clip.rs | 6 ++++++ gstreamer-editing-services/src/auto/layer.rs | 5 +++++ gstreamer-editing-services/src/auto/timeline.rs | 5 +++++ gstreamer-editing-services/src/auto/track_element.rs | 4 ++++ .../src/auto/uri_source_asset.rs | 2 ++ gstreamer-editing-services/src/auto/versions.txt | 4 ++-- gstreamer-gl/src/auto/versions.txt | 4 ++-- gstreamer-net/src/auto/versions.txt | 4 ++-- gstreamer-pbutils/src/auto/versions.txt | 4 ++-- gstreamer-player/src/auto/versions.txt | 4 ++-- gstreamer-rtp/src/auto/versions.txt | 4 ++-- gstreamer-rtsp-server/src/auto/versions.txt | 4 ++-- gstreamer-rtsp/src/auto/mod.rs | 2 ++ gstreamer-rtsp/src/auto/rtsp_auth_param.rs | 1 + gstreamer-rtsp/src/auto/versions.txt | 4 ++-- gstreamer-sdp/src/auto/versions.txt | 4 ++-- gstreamer-video/src/auto/flags.rs | 12 ++++++++---- gstreamer-video/src/auto/versions.txt | 4 ++-- gstreamer-webrtc/src/auto/versions.txt | 4 ++-- gstreamer/src/auto/versions.txt | 4 ++-- 26 files changed, 67 insertions(+), 36 deletions(-) diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-base/src/adapter.rs b/gstreamer-base/src/adapter.rs index 6a50b5e07..1cbf46605 100644 --- a/gstreamer-base/src/adapter.rs +++ b/gstreamer-base/src/adapter.rs @@ -85,6 +85,7 @@ impl UniqueAdapter { self.0.copy_bytes(offset, size) } + #[cfg(any(feature = "v1_10", feature = "dox"))] pub fn distance_from_discont(&self) -> u64 { self.0.distance_from_discont() } diff --git a/gstreamer-base/src/auto/adapter.rs b/gstreamer-base/src/auto/adapter.rs index 813455f96..548b7ec75 100644 --- a/gstreamer-base/src/auto/adapter.rs +++ b/gstreamer-base/src/auto/adapter.rs @@ -48,6 +48,7 @@ impl Adapter { } } + #[cfg(any(feature = "v1_10", feature = "dox"))] pub fn distance_from_discont(&self) -> u64 { unsafe { gst_base_sys::gst_adapter_distance_from_discont(self.to_glib_none().0) } } diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-editing-services/src/auto/clip.rs b/gstreamer-editing-services/src/auto/clip.rs index b0ccf3916..c05390598 100644 --- a/gstreamer-editing-services/src/auto/clip.rs +++ b/gstreamer-editing-services/src/auto/clip.rs @@ -13,9 +13,11 @@ use glib::StaticType; use glib::Value; use glib_sys; use gobject_sys; +#[cfg(any(feature = "v1_18", feature = "dox"))] use gst; use std::boxed::Box as Box_; use std::mem::transmute; +#[cfg(any(feature = "v1_18", feature = "dox"))] use std::ptr; use Asset; use BaseEffect; @@ -42,6 +44,7 @@ pub const NONE_CLIP: Option<&Clip> = None; pub trait ClipExt: 'static { fn add_asset>(&self, asset: &P) -> Result; + #[cfg(any(feature = "v1_18", feature = "dox"))] fn add_child_to_track, Q: IsA>( &self, child: &P, @@ -79,6 +82,7 @@ pub trait ClipExt: 'static { fn get_supported_formats(&self) -> TrackType; + #[cfg(any(feature = "v1_18", feature = "dox"))] fn get_timeline_time_from_internal_time>( &self, child: &P, @@ -157,6 +161,7 @@ impl> ClipExt for O { } } + #[cfg(any(feature = "v1_18", feature = "dox"))] fn add_child_to_track, Q: IsA>( &self, child: &P, @@ -273,6 +278,7 @@ impl> ClipExt for O { } } + #[cfg(any(feature = "v1_18", feature = "dox"))] fn get_timeline_time_from_internal_time>( &self, child: &P, diff --git a/gstreamer-editing-services/src/auto/layer.rs b/gstreamer-editing-services/src/auto/layer.rs index 091d0788a..32673d2da 100644 --- a/gstreamer-editing-services/src/auto/layer.rs +++ b/gstreamer-editing-services/src/auto/layer.rs @@ -19,6 +19,7 @@ use Asset; use Clip; use Extractable; use Timeline; +#[cfg(any(feature = "v1_18", feature = "dox"))] use Track; use TrackType; @@ -70,6 +71,7 @@ pub trait LayerExt: 'static { #[cfg(any(feature = "v1_18", feature = "dox"))] fn add_clip_full>(&self, clip: &P) -> Result<(), glib::Error>; + #[cfg(any(feature = "v1_18", feature = "dox"))] fn get_active_for_track>(&self, track: &P) -> bool; fn get_auto_transition(&self) -> bool; @@ -88,6 +90,7 @@ pub trait LayerExt: 'static { fn remove_clip>(&self, clip: &P) -> Result<(), glib::error::BoolError>; + #[cfg(any(feature = "v1_18", feature = "dox"))] fn set_active_for_tracks(&self, active: bool, tracks: &[Track]) -> bool; fn set_auto_transition(&self, auto_transition: bool); @@ -191,6 +194,7 @@ impl> LayerExt for O { } } + #[cfg(any(feature = "v1_18", feature = "dox"))] fn get_active_for_track>(&self, track: &P) -> bool { unsafe { from_glib(ges_sys::ges_layer_get_active_for_track( @@ -262,6 +266,7 @@ impl> LayerExt for O { } } + #[cfg(any(feature = "v1_18", feature = "dox"))] fn set_active_for_tracks(&self, active: bool, tracks: &[Track]) -> bool { unsafe { from_glib(ges_sys::ges_layer_set_active_for_tracks( diff --git a/gstreamer-editing-services/src/auto/timeline.rs b/gstreamer-editing-services/src/auto/timeline.rs index 828348677..e2020651e 100644 --- a/gstreamer-editing-services/src/auto/timeline.rs +++ b/gstreamer-editing-services/src/auto/timeline.rs @@ -16,6 +16,7 @@ use std::mem::transmute; use std::ptr; use Asset; use Extractable; +#[cfg(any(feature = "v1_18", feature = "dox"))] use FrameNumber; use Group; use Layer; @@ -82,8 +83,10 @@ pub trait TimelineExt: 'static { fn get_element(&self, name: &str) -> Option; + #[cfg(any(feature = "v1_18", feature = "dox"))] fn get_frame_at(&self, timestamp: gst::ClockTime) -> FrameNumber; + #[cfg(any(feature = "v1_18", feature = "dox"))] fn get_frame_time(&self, frame_number: FrameNumber) -> gst::ClockTime; fn get_groups(&self) -> Vec; @@ -242,12 +245,14 @@ impl> TimelineExt for O { } } + #[cfg(any(feature = "v1_18", feature = "dox"))] fn get_frame_at(&self, timestamp: gst::ClockTime) -> FrameNumber { unsafe { ges_sys::ges_timeline_get_frame_at(self.as_ref().to_glib_none().0, timestamp.to_glib()) } } + #[cfg(any(feature = "v1_18", feature = "dox"))] fn get_frame_time(&self, frame_number: FrameNumber) -> gst::ClockTime { unsafe { from_glib(ges_sys::ges_timeline_get_frame_time( diff --git a/gstreamer-editing-services/src/auto/track_element.rs b/gstreamer-editing-services/src/auto/track_element.rs index d015ac007..8b9328773 100644 --- a/gstreamer-editing-services/src/auto/track_element.rs +++ b/gstreamer-editing-services/src/auto/track_element.rs @@ -72,6 +72,7 @@ pub trait TrackElementExt: 'static { fn get_track_type(&self) -> TrackType; + #[cfg(any(feature = "v1_18", feature = "dox"))] fn has_internal_source(&self) -> bool; fn is_active(&self) -> bool; @@ -90,6 +91,7 @@ pub trait TrackElementExt: 'static { //fn set_control_source(&self, source: /*Ignored*/&gst::ControlSource, property_name: &str, binding_type: &str) -> bool; + #[cfg(any(feature = "v1_18", feature = "dox"))] fn set_has_internal_source(&self, has_internal_source: bool); fn set_track_type(&self, type_: TrackType); @@ -230,6 +232,7 @@ impl> TrackElementExt for O { } } + #[cfg(any(feature = "v1_18", feature = "dox"))] fn has_internal_source(&self) -> bool { unsafe { from_glib(ges_sys::ges_track_element_has_internal_source( @@ -294,6 +297,7 @@ impl> TrackElementExt for O { // unsafe { TODO: call ges_sys:ges_track_element_set_control_source() } //} + #[cfg(any(feature = "v1_18", feature = "dox"))] fn set_has_internal_source(&self, has_internal_source: bool) { unsafe { ges_sys::ges_track_element_set_has_internal_source( diff --git a/gstreamer-editing-services/src/auto/uri_source_asset.rs b/gstreamer-editing-services/src/auto/uri_source_asset.rs index 338e46bc7..abfa120fc 100644 --- a/gstreamer-editing-services/src/auto/uri_source_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_source_asset.rs @@ -27,6 +27,7 @@ pub trait UriSourceAssetExt: 'static { fn get_stream_uri(&self) -> Option; + #[cfg(any(feature = "v1_18", feature = "dox"))] fn is_image(&self) -> bool; } @@ -55,6 +56,7 @@ impl> UriSourceAssetExt for O { } } + #[cfg(any(feature = "v1_18", feature = "dox"))] fn is_image(&self) -> bool { unsafe { from_glib(ges_sys::ges_uri_source_asset_is_image( diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-rtsp/src/auto/mod.rs b/gstreamer-rtsp/src/auto/mod.rs index ee7f33149..5d814d022 100644 --- a/gstreamer-rtsp/src/auto/mod.rs +++ b/gstreamer-rtsp/src/auto/mod.rs @@ -2,7 +2,9 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +#[cfg(any(feature = "v1_12", feature = "dox"))] mod rtsp_auth_param; +#[cfg(any(feature = "v1_12", feature = "dox"))] pub use self::rtsp_auth_param::RTSPAuthParam; mod rtsp_url; diff --git a/gstreamer-rtsp/src/auto/rtsp_auth_param.rs b/gstreamer-rtsp/src/auto/rtsp_auth_param.rs index 867113f21..ed6332e28 100644 --- a/gstreamer-rtsp/src/auto/rtsp_auth_param.rs +++ b/gstreamer-rtsp/src/auto/rtsp_auth_param.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +#[cfg(any(feature = "v1_12", feature = "dox"))] use glib::translate::*; use gst_rtsp_sys; diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-video/src/auto/flags.rs b/gstreamer-video/src/auto/flags.rs index 0b086640f..e2dc32fae 100644 --- a/gstreamer-video/src/auto/flags.rs +++ b/gstreamer-video/src/auto/flags.rs @@ -387,24 +387,28 @@ impl FromGlib for VideoOverlayFormatF } } +#[cfg(any(feature = "v1_16", feature = "dox"))] impl StaticType for VideoOverlayFormatFlags { fn static_type() -> Type { unsafe { from_glib(gst_video_sys::gst_video_overlay_format_flags_get_type()) } } } +#[cfg(any(feature = "v1_16", feature = "dox"))] impl<'a> FromValueOptional<'a> for VideoOverlayFormatFlags { unsafe fn from_value_optional(value: &Value) -> Option { Some(FromValue::from_value(value)) } } +#[cfg(any(feature = "v1_16", feature = "dox"))] impl<'a> FromValue<'a> for VideoOverlayFormatFlags { unsafe fn from_value(value: &Value) -> Self { from_glib(gobject_sys::g_value_get_flags(value.to_glib_none().0)) } } +#[cfg(any(feature = "v1_16", feature = "dox"))] impl SetValue for VideoOverlayFormatFlags { unsafe fn set_value(value: &mut Value, this: &Self) { gobject_sys::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) @@ -488,28 +492,28 @@ impl FromGlib for VideoTimeCodeFlags { } } -#[cfg(any(feature = "v1_10", feature = "dox"))] +#[cfg(any(feature = "v1_18", feature = "dox"))] impl StaticType for VideoTimeCodeFlags { fn static_type() -> Type { unsafe { from_glib(gst_video_sys::gst_video_time_code_flags_get_type()) } } } -#[cfg(any(feature = "v1_10", feature = "dox"))] +#[cfg(any(feature = "v1_18", feature = "dox"))] impl<'a> FromValueOptional<'a> for VideoTimeCodeFlags { unsafe fn from_value_optional(value: &Value) -> Option { Some(FromValue::from_value(value)) } } -#[cfg(any(feature = "v1_10", feature = "dox"))] +#[cfg(any(feature = "v1_18", feature = "dox"))] impl<'a> FromValue<'a> for VideoTimeCodeFlags { unsafe fn from_value(value: &Value) -> Self { from_glib(gobject_sys::g_value_get_flags(value.to_glib_none().0)) } } -#[cfg(any(feature = "v1_10", feature = "dox"))] +#[cfg(any(feature = "v1_18", feature = "dox"))] impl SetValue for VideoTimeCodeFlags { unsafe fn set_value(value: &mut Value, this: &Self) { gobject_sys::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index 2a1c25cc3..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 1a54d3bc) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67) diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index 9f53a6200..64bce6d59 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 @ 882e09b) -from gir-files (https://github.com/gtk-rs/gir-files @ 38361831) +Generated by gir (https://github.com/gtk-rs/gir @ 5a5b8f5) +from gir-files (https://github.com/gtk-rs/gir-files @ 2bd82b67)