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

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