Trait gstreamer_editing_services::prelude::UriClipAssetExt [−][src]
pub trait UriClipAssetExt: 'static { fn duration(&self) -> ClockTime; fn info(&self) -> Option<DiscovererInfo>; fn max_duration(&self) -> ClockTime; fn stream_assets(&self) -> Vec<UriSourceAsset>; fn is_image(&self) -> bool; fn set_duration(&self, duration: u64); fn is_nested_timeline(&self) -> bool; fn connect_duration_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_is_nested_timeline_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Required methods
fn duration(&self) -> ClockTime
[src]
fn info(&self) -> Option<DiscovererInfo>
[src]
Gets crate::gst_pbutils::DiscovererInfo
about the file
Returns
crate::gst_pbutils::DiscovererInfo
of specified asset
fn max_duration(&self) -> ClockTime
[src]
This is supported on crate feature
v1_18
only.Gets maximum duration of the file represented by self
,
it is usually the same as GESUriClipAsset::duration,
but in the case of nested timelines, for example, they
are different as those can be extended ‘infinitely’.
Returns
The maximum duration of self
fn stream_assets(&self) -> Vec<UriSourceAsset>
[src]
fn is_image(&self) -> bool
[src]
This is supported on crate feature
v1_18
only.Gets Whether the file represented by self
is an image or not
Returns
Whether the file represented by self
is an image or not
fn set_duration(&self, duration: u64)
[src]
fn is_nested_timeline(&self) -> bool
[src]
This is supported on crate feature
v1_18
only.fn connect_duration_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_is_nested_timeline_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
This is supported on crate feature
v1_18
only.Implementors
impl<O: IsA<UriClipAsset>> UriClipAssetExt for O
[src]
impl<O: IsA<UriClipAsset>> UriClipAssetExt for O
[src]fn duration(&self) -> ClockTime
[src]
fn info(&self) -> Option<DiscovererInfo>
[src]
fn max_duration(&self) -> ClockTime
[src]
fn max_duration(&self) -> ClockTime
[src]This is supported on crate feature
v1_18
only.fn stream_assets(&self) -> Vec<UriSourceAsset>
[src]
fn set_duration(&self, duration: u64)
[src]
fn is_nested_timeline(&self) -> bool
[src]
fn is_nested_timeline(&self) -> bool
[src]This is supported on crate feature
v1_18
only.fn connect_duration_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_is_nested_timeline_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
fn connect_is_nested_timeline_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]This is supported on crate feature
v1_18
only.