GstTypeFind

Name

GstTypeFind -- Detect the mime type of a media stream

Synopsis


#include <gst/gst.h>



Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstTypeFind

Args


  "caps"                 gpointer             : Read

Signal Prototypes


"have-type" void        user_function      (GstTypeFind *gsttypefind,
                                            gpointer arg1,
                                            gpointer user_data);

Description

This element can be added to the pipeline and will notify the listener of the detected mime type of the stream. It is used in autoplugging.

Details

Args

"caps" (gpointer : Read)

Signals

The "have-type" signal

void        user_function                  (GstTypeFind *gsttypefind,
                                            gpointer arg1,
                                            gpointer user_data);

The signal to indicate the mime type was detected.

gsttypefind :the object which received the signal.
arg1 :The mime type that was detected
user_data :user data set when the signal handler was connected.