|
gstreamermm
0.10.10.2
|
DiscovererStreamInfo - Base class for information concerning a media stream. More...


Public Member Functions | |
| virtual | ~DiscovererStreamInfo () |
| GstDiscovererStreamInfo* | gobj () |
| Provides access to the underlying C GstMiniObject. | |
| const GstDiscovererStreamInfo* | gobj () const |
| Provides access to the underlying C GstMiniObject. | |
| GstDiscovererStreamInfo* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
| Glib::RefPtr< Gst::Caps > | get_caps () |
| Glib::RefPtr< const Gst::Caps > | get_caps () const |
| Structure | get_misc () const |
| Glib::RefPtr < DiscovererStreamInfo > | get_next () |
| Glib::RefPtr< const DiscovererStreamInfo > | get_next () const |
| Glib::RefPtr < DiscovererStreamInfo > | get_previous () |
| Glib::RefPtr < DiscovererStreamInfo > | get_previous () const |
| TagList | get_tags () const |
| Glib::ustring | get_stream_type_nick () const |
Related Functions | |
(Note that these are not member functions.) | |
| Glib::RefPtr < Gst::DiscovererStreamInfo > | wrap (GstDiscovererStreamInfo* object, bool take_copy=false) |
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.
| virtual Gst::DiscovererStreamInfo::~DiscovererStreamInfo | ( | ) | [virtual] |
| Glib::RefPtr<const Gst::Caps> Gst::DiscovererStreamInfo::get_caps | ( | ) | const |
| Structure Gst::DiscovererStreamInfo::get_misc | ( | ) | const |
0 for final streams. Unref with #gst_discoverer_stream_info_unref after usage. | Glib::RefPtr<const DiscovererStreamInfo> Gst::DiscovererStreamInfo::get_next | ( | ) | const |
0 for final streams. Unref with #gst_discoverer_stream_info_unref after usage. 0 for starting points. Unref with #gst_discoverer_stream_info_unref after usage. 0 for starting points. Unref with #gst_discoverer_stream_info_unref after usage. | TagList Gst::DiscovererStreamInfo::get_tags | ( | ) | const |
| GstDiscovererStreamInfo* Gst::DiscovererStreamInfo::gobj | ( | ) | [inline] |
Provides access to the underlying C GstMiniObject.
Reimplemented from Gst::MiniObject.
Reimplemented in Gst::DiscovererVideoInfo, Gst::DiscovererAudioInfo, and Gst::DiscovererContainerInfo.
| const GstDiscovererStreamInfo* Gst::DiscovererStreamInfo::gobj | ( | ) | const [inline] |
Provides access to the underlying C GstMiniObject.
Reimplemented from Gst::MiniObject.
Reimplemented in Gst::DiscovererVideoInfo, Gst::DiscovererAudioInfo, and Gst::DiscovererContainerInfo.
| GstDiscovererStreamInfo* Gst::DiscovererStreamInfo::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Reimplemented from Gst::MiniObject.
Reimplemented in Gst::DiscovererVideoInfo, Gst::DiscovererAudioInfo, and Gst::DiscovererContainerInfo.
| Glib::RefPtr< Gst::DiscovererStreamInfo > wrap | ( | GstDiscovererStreamInfo * | object, |
| bool | take_copy = false |
||
| ) | [related] |
| 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. |
1.7.6.1