Trait gstreamer_pbutils::prelude::DiscovererStreamInfoExt [−][src]
pub trait DiscovererStreamInfoExt: 'static { fn caps(&self) -> Option<Caps>; fn misc(&self) -> Option<Structure>; fn next(&self) -> Option<DiscovererStreamInfo>; fn previous(&self) -> Option<DiscovererStreamInfo>; fn stream_id(&self) -> Option<GString>; fn stream_type_nick(&self) -> GString; fn tags(&self) -> Option<TagList>; fn toc(&self) -> Option<Toc>; }
Trait containing all DiscovererStreamInfo
methods.
Implementors
crate::DiscovererAudioInfo
, crate::DiscovererContainerInfo
, crate::DiscovererStreamInfo
, crate::DiscovererSubtitleInfo
, crate::DiscovererVideoInfo
Required methods
fn caps(&self) -> Option<Caps>
[src]
Returns
the crate::gst::Caps
of the stream. Unref with
gst_caps_unref
after usage.
fn misc(&self) -> Option<Structure>
[src]
Deprecated
This functions is deprecated since version 1.4, use
[crate::DiscovererInfo::get_missing_elements_installer_details
]
Returns
additional information regarding the stream (for
example codec version, profile, etc..). If you wish to use the crate::gst::Structure
after the life-time of self
you will need to copy it.
fn next(&self) -> Option<DiscovererStreamInfo>
[src]
Returns
the next crate::DiscovererStreamInfo
in a chain. None
for final streams.
Unref with gst_discoverer_stream_info_unref
after usage.
fn previous(&self) -> Option<DiscovererStreamInfo>
[src]
Returns
the previous crate::DiscovererStreamInfo
in a chain.
None
for starting points. Unref with gst_discoverer_stream_info_unref
after usage.
fn stream_id(&self) -> Option<GString>
[src]
Returns
the stream ID of this stream. If you wish to
use the stream ID after the life-time of self
you will need to copy it.
fn stream_type_nick(&self) -> GString
[src]
Returns
a human readable name for the stream type of the given self
(ex : “audio”,
“container”,…).
fn tags(&self) -> Option<TagList>
[src]
Returns
the tags contained in this stream. If you wish to
use the tags after the life-time of self
you will need to copy them.
fn toc(&self) -> Option<Toc>
[src]
Returns
the TOC contained in this stream. If you wish to
use the TOC after the life-time of self
you will need to copy it.
Implementors
impl<O: IsA<DiscovererStreamInfo>> DiscovererStreamInfoExt for O
[src]
impl<O: IsA<DiscovererStreamInfo>> DiscovererStreamInfoExt for O
[src]