Trait gstreamer_player::prelude::PlayerStreamInfoExt [−][src]
pub trait PlayerStreamInfoExt: 'static { fn caps(&self) -> Option<Caps>; fn codec(&self) -> Option<GString>; fn index(&self) -> i32; fn stream_type(&self) -> GString; fn tags(&self) -> Option<TagList>; }
Expand description
Trait containing all PlayerStreamInfo
methods.
Implementors
PlayerAudioInfo
, PlayerStreamInfo
, PlayerSubtitleInfo
, PlayerVideoInfo
Required methods
Function to get stream index from PlayerStreamInfo
instance.
Returns
the stream index of this stream.
fn stream_type(&self) -> GString
[src]
fn stream_type(&self) -> GString
[src]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.