DiscovererStreamInfo - Base class for information concerning a media stream. More...
DiscovererStreamInfo - Base class for information concerning a media stream.
Depending on the stream type, one can find more media-specific information in Gst::DiscovererAudioInfo, Gst::DiscovererVideoInfo, and Gst::DiscovererContainerInfo.
The Gst::DiscovererStreamInfo represents the topology of the stream. Siblings can be iterated over with get_next() and get_previous(). Children (sub-streams) of a stream can be accessed using the Gst::DiscovererContainerInfo API.
As a simple example, if you run Gst::Discoverer on an AVI file with one audio and one video stream, you will get a Gst::DiscovererContainerInfo corresponding to the AVI container, which in turn will have a Gst::DiscovererAudioInfo sub-stream and a Gst::DiscovererVideoInfo sub-stream for the audio and video streams respectively.
Gst::DiscovererStreamInfo::DiscovererStreamInfo |
( |
| ) |
|
|
protected |
- Returns
- The Gst::Caps of the stream. Unref with #gst_caps_unref after usage.
- Returns
- The Gst::Caps of the stream. Unref with #gst_caps_unref after usage.
Structure Gst::DiscovererStreamInfo::get_misc |
( |
| ) |
const |
- Returns
- Additional information regarding the stream (for example codec version, profile, etc..). If you wish to use the Gst::Structure after the life-time of info you will need to copy it.
- Returns
- The next Gst::DiscovererStreamInfo in a chain.
0
for final streams. Unref with #gst_discoverer_stream_info_unref after usage.
- Returns
- The next Gst::DiscovererStreamInfo in a chain.
0
for final streams. Unref with #gst_discoverer_stream_info_unref after usage.
- Returns
- The previous Gst::DiscovererStreamInfo in a chain.
0
for starting points. Unref with #gst_discoverer_stream_info_unref after usage.
- Returns
- The previous Gst::DiscovererStreamInfo in a chain.
0
for starting points. Unref with #gst_discoverer_stream_info_unref after usage.
Glib::ustring Gst::DiscovererStreamInfo::get_stream_type_nick |
( |
| ) |
const |
- Returns
- A human readable name for the stream type of the given info (ex : "audio", "container",...).
TagList Gst::DiscovererStreamInfo::get_tags |
( |
| ) |
const |
- Returns
- The tags contained in this stream. If you wish to use the tags after the life-time of info you will need to copy them.
GstDiscovererStreamInfo* Gst::DiscovererStreamInfo::gobj |
( |
| ) |
|
Provides access to the underlying C instance.
const GstDiscovererStreamInfo* Gst::DiscovererStreamInfo::gobj |
( |
| ) |
const |
Provides access to the underlying C instance.
GstDiscovererStreamInfo* Gst::DiscovererStreamInfo::gobj_copy |
( |
| ) |
const |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
void Gst::DiscovererStreamInfo::operator delete |
( |
void * |
, |
|
|
std::size_t |
|
|
) |
| |
|
protected |
void Gst::DiscovererStreamInfo::reference |
( |
| ) |
const |
Increment the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
void Gst::DiscovererStreamInfo::unreference |
( |
| ) |
const |
Decrement the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
A Glib::wrap() method for this object.
- Parameters
-
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns
- A C++ instance that wraps this C instance.
The documentation for this class was generated from the following file:
- gstreamermm/discovererinfo.h