|GStreamer Core Plugins 1.0 Plugins Reference Manual|
|Top | Description | Object Hierarchy | Properties | Signals|
GObject +----GInitiallyUnowned +----GstObject +----GstElement +----GstTypeFindElement
Determines the media-type of a stream. It applies typefind functions in the order of their rank. One the type has been deteted it sets its src pad caps to the found media type.
Whenever a type is found the "have-type" signal is emitted, either from the streaming thread or the application thread (the latter may happen when typefinding is done pull-based from the state change function).
Plugins can register custom typefinders by using GstTypeFindFactory.
|Benjamin Otte <email@example.com>|
Opaque GstTypeFindElement data structure
"caps" GstCaps* : Read
detected capabilities in stream.
"force-caps" GstCaps* : Read / Write
force caps without doing a typefind.
"minimum" guint : Read / Write
minimum probability required to accept caps.
Allowed values: [1,100]
Default value: 1
void user_function (GstTypeFindElement *typefind, guint probability, GstCaps *caps, gpointer user_data) :
This signal gets emitted when the type and its probability has been found.
||the typefind instance|
||the probability of the type found|
||the caps of the type found|
||user data set when the signal handler was connected.|