[−][src]Trait gstreamer_editing_services::UriClipAssetExt
Required methods
fn get_duration(&self) -> ClockTime
fn get_info(&self) -> Option<DiscovererInfo>
Gets gst_pbutils::DiscovererInfo about the file
Returns
gst_pbutils::DiscovererInfo of specified asset
fn get_max_duration(&self) -> ClockTime
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'.
Feature: v1_18
Returns
The maximum duration of self
fn get_stream_assets(&self) -> Vec<UriSourceAsset>
fn is_image(&self) -> bool
Gets Whether the file represented by self is an image or not
Feature: v1_18
Returns
Whether the file represented by self is an image or not
fn set_property_duration(&self, duration: u64)
The duration (in nanoseconds) of the media file
fn get_property_is_nested_timeline(&self) -> bool
The duration (in nanoseconds) of the media file
Feature: v1_18
fn connect_property_duration_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_is_nested_timeline_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<UriClipAsset>> UriClipAssetExt for O[src]
fn get_duration(&self) -> ClockTime[src]
fn get_info(&self) -> Option<DiscovererInfo>[src]
fn get_max_duration(&self) -> ClockTime[src]
fn get_stream_assets(&self) -> Vec<UriSourceAsset>[src]
fn is_image(&self) -> bool[src]
fn set_property_duration(&self, duration: u64)[src]
fn get_property_is_nested_timeline(&self) -> bool[src]
fn connect_property_duration_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_is_nested_timeline_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId