![]() |
![]() |
![]() |
GStreamer Base Plugins 0.10 Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
GstBin that auto-magically constructs a decoding pipeline using available decoders and demuxers via auto-plugging.
When using decodebin in your application, connect a signal handler to "new-decoded-pad" and connect your sinks from within the callback function.
"new-decoded-pad"
signalvoid user_function (GstDecodeBin *bin, GstPad *pad, gboolean islast, gpointer user_data) : Run Last
This signal gets emitted as soon as a new pad of the same type as one of the valid 'raw' types is added.
|
The decodebin |
|
The newly created pad |
|
TRUE if this is the last pad to be added. Deprecated. |
|
user data set when the signal handler was connected. |
"removed-decoded-pad"
signalvoid user_function (GstDecodeBin *bin, GstPad *pad, gpointer user_data) : Run Last
This signal is emitted when a 'final' caps pad has been removed.
|
The decodebin |
|
The pad that was removed |
|
user data set when the signal handler was connected. |
"unknown-type"
signalvoid user_function (GstDecodeBin *bin, GstPad *pad, GstCaps *caps, gpointer user_data) : Run Last
This signal is emitted when a pad for which there is no further possible decoding is added to the decodebin.
|
The decodebin |
|
The new pad containing caps that cannot be resolved to a 'final' stream type. |
|
The GstCaps of the pad that cannot be resolved. |
|
user data set when the signal handler was connected. |