pub trait TrackElementAssetExt: 'static {
    fn natural_framerate(&self) -> Option<(i32, i32)>;
fn track_type(&self) -> TrackType;
fn set_track_type(&self, type_: TrackType);
fn connect_track_type_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
Expand description

Required methods

This is supported on crate feature v1_18 only.

Result: true if self has a natural framerate false otherwise

Returns
framerate_n

The framerate numerator

framerate_d

The framerate denominator

Get the GESAssetTrackType the TrackElement extracted from self_ should get into

Returns

a TrackType

Set the TrackType the TrackElement extracted from self_ should get into

type_

A TrackType

Implementors