Struct gstreamer_player::PlayerMediaInfo[]

pub struct PlayerMediaInfo(_, _);

Structure containing the media information of a URI.

Implements

glib::object::ObjectExt

Methods

impl PlayerMediaInfo
[src]

Important traits for Vec<u8>

Returns

A glib::List of matching PlayerAudioInfo.

Returns

the container format.

Returns

duration of the media.

Function to get the image (or preview-image) stored in taglist. Application can use gst_sample_*_ API's to get caps, buffer etc.

Returns

GstSample or NULL.

Returns

number of audio streams.

Returns

number of total streams.

Returns

number of subtitle streams.

Returns

number of video streams.

Important traits for Vec<u8>

Returns

A glib::List of matching PlayerStreamInfo.

Important traits for Vec<u8>

Returns

A glib::List of matching PlayerSubtitleInfo.

Returns

the tags contained in media info.

Returns

the media title.

Returns

the URI associated with PlayerMediaInfo.

Important traits for Vec<u8>

Returns

A glib::List of matching PlayerVideoInfo.

Returns

true if the media is live.

Returns

true if the media is seekable.

Trait Implementations

impl Clone for PlayerMediaInfo

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for PlayerMediaInfo

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Ord for PlayerMediaInfo

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl StaticType for PlayerMediaInfo

Returns the type identifier of Self.

impl<T: IsA<Object>> PartialEq<T> for PlayerMediaInfo

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PlayerMediaInfo

impl<T: IsA<Object>> PartialOrd<T> for PlayerMediaInfo

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for PlayerMediaInfo

Formats the value using the given formatter. Read more

impl IsA<Object> for PlayerMediaInfo

impl Send for PlayerMediaInfo
[src]

impl Sync for PlayerMediaInfo
[src]