typefind

typefind — Finds the media type of a stream

Synopsis




            GstTypeFindElement;


Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstTypeFindElement

Properties


  "caps"                 GstCaps               : Read
  "maximum"              guint                 : Read / Write
  "minimum"              guint                 : Read / Write

Signal Prototypes


"have-type" void        user_function      (GstTypeFindElement *typefind,
                                            guint probability,
                                            GstCaps *caps,
                                            gpointer user_data);

Description

Element Information

plugin coreelements
author Benjamin Otte <in7y118@public.uni-hamburg.de>
class Generic

Details

GstTypeFindElement

typedef struct _GstTypeFindElement GstTypeFindElement;

Opaque GstTypeFindElement data structure

Properties

The "caps" property

  "caps"                 GstCaps               : Read

detected capabilities in stream.


The "maximum" property

  "maximum"              guint                 : Read / Write

probability to stop typefinding (deprecated; non-functional).

Allowed values: [1,100]

Default value: 100


The "minimum" property

  "minimum"              guint                 : Read / Write

minimum probability required to accept caps.

Allowed values: [1,100]

Default value: 1

Signals

The "have-type" signal

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.

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.