GStreamer Base Plugins 0.10 Plugins Reference Manual | ||||
---|---|---|---|---|
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.
plugin | decodebin |
author | Wim Taymans <wim.taymans@gmail.com> |
class | Generic/Bin/Decoder |
"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.
bin : |
The decodebin |
pad : |
The newly created pad |
islast : |
TRUE if this is the last pad to be added. Deprecated. |
user_data : |
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.
bin : |
The decodebin |
pad : |
The pad that was removed |
user_data : |
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.
bin : |
The decodebin |
pad : |
The new pad containing caps that cannot be resolved to a 'final' stream type. |
caps : |
The GstCaps of the pad that cannot be resolved. |
user_data : |
user data set when the signal handler was connected. |