Trait gstreamer_player::PlayerStreamInfoExt[][src]

pub trait PlayerStreamInfoExt {
    fn get_caps(&self) -> Option<Caps>;
fn get_codec(&self) -> Option<String>;
fn get_index(&self) -> i32;
fn get_stream_type(&self) -> String;
fn get_tags(&self) -> Option<TagList>; }

Trait containing all PlayerStreamInfo methods.

Implementors

PlayerAudioInfo, PlayerStreamInfo, PlayerSubtitleInfo, PlayerVideoInfo

Required Methods

Returns

the gst::Caps of the stream.

A string describing codec used in PlayerStreamInfo.

Returns

codec string or NULL on unknown.

Function to get stream index from PlayerStreamInfo instance.

Returns

the stream index of this stream.

Function to return human readable name for the stream type of the given self (ex: "audio", "video", "subtitle")

Returns

a human readable name

Returns

the tags contained in this stream.

Implementors