![]() | ![]() | ![]() | GStreamer 0.10 Core Reference Manual | ![]() |
---|
GstTypeFindFactoryGstTypeFindFactory — |
#include <gst/gst.h> GstTypeFindFactory; GList* gst_type_find_factory_get_list (void); gchar** gst_type_find_factory_get_extensions (GstTypeFindFactory *factory); GstCaps* gst_type_find_factory_get_caps (GstTypeFindFactory *factory); void gst_type_find_factory_call_function (GstTypeFindFactory *factory, GstTypeFind *find);
typedef struct _GstTypeFindFactory GstTypeFindFactory;
Object that stores information about a typefind function.
GList* gst_type_find_factory_get_list (void);
Gets the list of all registered typefind factories. You must free the list using g_list_free.
Returns : | the list of all registered GstTypeFindFactory. |
gchar** gst_type_find_factory_get_extensions (GstTypeFindFactory *factory);
Gets the extensions associated with a GstTypeFindFactory. The returned
array should not be changed. If you need to change stuff in it, you should
copy it using g_stdupv()
. This function may return NULL to indicate
a 0-length list.
factory : | A GstTypeFindFactory |
Returns : | a NULL-terminated array of extensions associated with this factory |
GstCaps* gst_type_find_factory_get_caps (GstTypeFindFactory *factory);
Gets the GstCaps associated with a typefind factory.
factory : | A GstTypeFindFactory |
Returns : | The GstCaps associated with this factory |
void gst_type_find_factory_call_function (GstTypeFindFactory *factory, GstTypeFind *find);
Calls the GstTypeFindFunction associated with this factory.
factory : | A GstTypeFindFactory |
find : | A properly setup GstTypeFind entry. The get_data and suggest_type members must be set. |
<< GstTypeFind | GstUriHandler >> |