diff --git a/gstreamer-editing-services/src/auto/timeline.rs b/gstreamer-editing-services/src/auto/timeline.rs index fd8cc39e0..1bf2f1988 100644 --- a/gstreamer-editing-services/src/auto/timeline.rs +++ b/gstreamer-editing-services/src/auto/timeline.rs @@ -99,6 +99,7 @@ pub trait TimelineExt: 'static { fn load_from_uri(&self, uri: &str) -> Result<(), Error>; + #[cfg(any(feature = "v1_16", feature = "dox"))] fn move_layer>( &self, layer: &P, @@ -319,6 +320,7 @@ impl> TimelineExt for O { } } + #[cfg(any(feature = "v1_16", feature = "dox"))] fn move_layer>( &self, layer: &P, diff --git a/gstreamer-editing-services/src/auto/timeline_element.rs b/gstreamer-editing-services/src/auto/timeline_element.rs index 9567cf95a..3e4a1998f 100644 --- a/gstreamer-editing-services/src/auto/timeline_element.rs +++ b/gstreamer-editing-services/src/auto/timeline_element.rs @@ -48,6 +48,7 @@ pub trait TimelineElementExt: 'static { fn get_inpoint(&self) -> gst::ClockTime; + #[cfg(any(feature = "v1_16", feature = "dox"))] fn get_layer_priority(&self) -> u32; fn get_max_duration(&self) -> gst::ClockTime; @@ -185,6 +186,7 @@ impl> TimelineElementExt for O { } } + #[cfg(any(feature = "v1_16", feature = "dox"))] fn get_layer_priority(&self) -> u32 { unsafe { ges_sys::ges_timeline_element_get_layer_priority(self.as_ref().to_glib_none().0) } } @@ -259,7 +261,7 @@ impl> TimelineElementExt for O { fn paste(&self, paste_position: gst::ClockTime) -> Option { unsafe { - from_glib_none(ges_sys::ges_timeline_element_paste( + from_glib_full(ges_sys::ges_timeline_element_paste( self.as_ref().to_glib_none().0, paste_position.to_glib(), )) diff --git a/gstreamer-editing-services/src/auto/uri_clip_asset.rs b/gstreamer-editing-services/src/auto/uri_clip_asset.rs index 9910923e0..3815f97ec 100644 --- a/gstreamer-editing-services/src/auto/uri_clip_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_clip_asset.rs @@ -29,6 +29,7 @@ glib_wrapper! { } impl UriClipAsset { + //#[cfg(any(feature = "v1_16", feature = "dox"))] //pub fn finish(res: /*Ignored*/&gio::AsyncResult) -> Result { // unsafe { TODO: call ges_sys:ges_uri_clip_asset_finish() } //}