[][src]Trait gstreamer_editing_services::UriClipAssetExt

pub trait UriClipAssetExt: 'static {
    fn get_duration(&self) -> ClockTime;
fn get_info(&self) -> Option<DiscovererInfo>;
fn get_stream_assets(&self) -> Vec<UriSourceAsset>;
fn is_image(&self) -> bool;
fn set_property_duration(&self, duration: u64);
fn connect_property_duration_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
[]

Trait containing all UriClipAsset methods.

Implementors

UriClipAsset

Required methods

fn get_duration(&self) -> ClockTime[]

Gets duration of the file represented by self

Returns

The duration of self

fn get_info(&self) -> Option<DiscovererInfo>[]

Gets gst_pbutils::DiscovererInfo about the file

Returns

gst_pbutils::DiscovererInfo of specified asset

fn get_stream_assets(&self) -> Vec<UriSourceAsset>[]

Get the GESUriSourceAsset self containes

Returns

a glib::List of UriSourceAsset

fn is_image(&self) -> bool[]

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_property_duration(&self, duration: u64)[]

The duration (in nanoseconds) of the media file

fn connect_property_duration_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Implementors

impl<O: IsA<UriClipAsset>> UriClipAssetExt for O[src][]