Struct gstreamer_pbutils::DiscovererStreamInfo[]

pub struct DiscovererStreamInfo(_, _);

Base structure for information concerning a media stream. Depending on the stream type, one can find more media-specific information in DiscovererAudioInfo, DiscovererVideoInfo, and DiscovererContainerInfo.

The DiscovererStreamInfo represents the topology of the stream. Siblings can be iterated over with DiscovererStreamInfoExt::get_next and DiscovererStreamInfoExt::get_previous. Children (sub-streams) of a stream can be accessed using the DiscovererContainerInfo API.

As a simple example, if you run Discoverer on an AVI file with one audio and one video stream, you will get a DiscovererContainerInfo corresponding to the AVI container, which in turn will have a DiscovererAudioInfo sub-stream and a DiscovererVideoInfo sub-stream for the audio and video streams respectively.

Implements

DiscovererStreamInfoExt, glib::object::ObjectExt

Methods

impl DiscovererStreamInfo
[src]

Important traits for Iter

Important traits for Iter

Trait Implementations

impl IsA<DiscovererStreamInfo> for DiscovererAudioInfo

impl IsA<DiscovererStreamInfo> for DiscovererContainerInfo

impl Clone for DiscovererStreamInfo

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for DiscovererStreamInfo

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

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

impl Ord for DiscovererStreamInfo

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 DiscovererStreamInfo

Returns the type identifier of Self.

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

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

This method tests for !=.

impl Eq for DiscovererStreamInfo

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

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 DiscovererStreamInfo

Formats the value using the given formatter. Read more

impl IsA<Object> for DiscovererStreamInfo

impl Send for DiscovererStreamInfo
[src]

impl Sync for DiscovererStreamInfo
[src]

impl IsA<DiscovererStreamInfo> for DiscovererSubtitleInfo

impl IsA<DiscovererStreamInfo> for DiscovererVideoInfo