[−][src]Trait gstreamer_player::PlayerStreamInfoExt
Trait containing all PlayerStreamInfo methods.
Implementors
PlayerAudioInfo, PlayerStreamInfo, PlayerSubtitleInfo, PlayerVideoInfo
Required methods
fn get_caps(&self) -> Option<Caps>
Returns
the gst::Caps of the stream.
fn get_codec(&self) -> Option<GString>
fn get_index(&self) -> i32
Function to get stream index from PlayerStreamInfo instance.
Returns
the stream index of this stream.
fn get_stream_type(&self) -> GString
Function to return human readable name for the stream type
of the given self (ex: "audio", "video", "subtitle")
Returns
a human readable name
fn get_tags(&self) -> Option<TagList>
Returns
the tags contained in this stream.