Trait gstreamer_editing_services::prelude::UriSourceAssetExt[][src]

pub trait UriSourceAssetExt: 'static {
    fn filesource_asset(&self) -> Option<UriClipAsset>;
fn stream_info(&self) -> Option<DiscovererStreamInfo>;
fn stream_uri(&self) -> Option<GString>;
fn is_image(&self) -> bool; }

Trait containing all UriSourceAsset methods.

Implementors

crate::UriSourceAsset

Required methods

fn filesource_asset(&self) -> Option<UriClipAsset>[src]

Get the crate::UriClipAsset self_ is contained in

Returns

a crate::UriClipAsset

fn stream_info(&self) -> Option<DiscovererStreamInfo>[src]

fn stream_uri(&self) -> Option<GString>[src]

fn is_image(&self) -> bool[src]

This is supported on crate feature v1_18 only.

Check if self contains a single image

Returns

true if the video stream corresponds to an image (i.e. only contains one frame)

Loading content...

Implementors

impl<O: IsA<UriSourceAsset>> UriSourceAssetExt for O[src]

fn filesource_asset(&self) -> Option<UriClipAsset>[src]

fn stream_info(&self) -> Option<DiscovererStreamInfo>[src]

fn stream_uri(&self) -> Option<GString>[src]

fn is_image(&self) -> bool[src]

This is supported on crate feature v1_18 only.
Loading content...