forked from mirrors/gstreamer-rs
Regenerate everything with latest gir-files
This commit is contained in:
parent
419dfd7e28
commit
d2930aed0b
3 changed files with 6 additions and 1 deletions
|
@ -99,6 +99,7 @@ pub trait TimelineExt: 'static {
|
||||||
|
|
||||||
fn load_from_uri(&self, uri: &str) -> Result<(), Error>;
|
fn load_from_uri(&self, uri: &str) -> Result<(), Error>;
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
fn move_layer<P: IsA<Layer>>(
|
fn move_layer<P: IsA<Layer>>(
|
||||||
&self,
|
&self,
|
||||||
layer: &P,
|
layer: &P,
|
||||||
|
@ -319,6 +320,7 @@ impl<O: IsA<Timeline>> TimelineExt for O {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
fn move_layer<P: IsA<Layer>>(
|
fn move_layer<P: IsA<Layer>>(
|
||||||
&self,
|
&self,
|
||||||
layer: &P,
|
layer: &P,
|
||||||
|
|
|
@ -48,6 +48,7 @@ pub trait TimelineElementExt: 'static {
|
||||||
|
|
||||||
fn get_inpoint(&self) -> gst::ClockTime;
|
fn get_inpoint(&self) -> gst::ClockTime;
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
fn get_layer_priority(&self) -> u32;
|
fn get_layer_priority(&self) -> u32;
|
||||||
|
|
||||||
fn get_max_duration(&self) -> gst::ClockTime;
|
fn get_max_duration(&self) -> gst::ClockTime;
|
||||||
|
@ -185,6 +186,7 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
fn get_layer_priority(&self) -> u32 {
|
fn get_layer_priority(&self) -> u32 {
|
||||||
unsafe { ges_sys::ges_timeline_element_get_layer_priority(self.as_ref().to_glib_none().0) }
|
unsafe { ges_sys::ges_timeline_element_get_layer_priority(self.as_ref().to_glib_none().0) }
|
||||||
}
|
}
|
||||||
|
@ -259,7 +261,7 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
|
||||||
|
|
||||||
fn paste(&self, paste_position: gst::ClockTime) -> Option<TimelineElement> {
|
fn paste(&self, paste_position: gst::ClockTime) -> Option<TimelineElement> {
|
||||||
unsafe {
|
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,
|
self.as_ref().to_glib_none().0,
|
||||||
paste_position.to_glib(),
|
paste_position.to_glib(),
|
||||||
))
|
))
|
||||||
|
|
|
@ -29,6 +29,7 @@ glib_wrapper! {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl UriClipAsset {
|
impl UriClipAsset {
|
||||||
|
//#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||||
//pub fn finish(res: /*Ignored*/&gio::AsyncResult) -> Result<UriClipAsset, Error> {
|
//pub fn finish(res: /*Ignored*/&gio::AsyncResult) -> Result<UriClipAsset, Error> {
|
||||||
// unsafe { TODO: call ges_sys:ges_uri_clip_asset_finish() }
|
// unsafe { TODO: call ges_sys:ges_uri_clip_asset_finish() }
|
||||||
//}
|
//}
|
||||||
|
|
Loading…
Reference in a new issue