![]() |
![]() |
![]() |
GStreamer Core Plugins 0.10 Plugins Reference Manual | ![]() |
---|---|---|---|---|
"caps" GstCaps* : Read "maximum" guint : Read / Write "minimum" guint : Read / Write "force-caps" GstCaps* : Read / Write
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.
Plugins can register custom typefinders by using GstTypeFindFactory.
typedef struct _GstTypeFindElement GstTypeFindElement;
Opaque GstTypeFindElement data structure
"maximum"
property"maximum" guint : Read / Write
probability to stop typefinding (deprecated; non-functional).
Allowed values: [1,100]
Default value: 100
"minimum"
property"minimum" guint : Read / Write
minimum probability required to accept caps.
Allowed values: [1,100]
Default value: 1
"have-type"
signalvoid user_function (GstTypeFindElement *typefind, guint probability, GstCaps *caps, gpointer user_data) : Run First
This signal gets emitted when the type and its probability has been found.
typefind : |
the typefind instance |
probability : |
the probability of the type found |
caps : |
the caps of the type found |
user_data : |
user data set when the signal handler was connected. |