1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
7 <!-- ##### SECTION Long_Description ##### -->
9 A GstTypeFactory is used to add a new type and a typedetection function
13 <!-- ##### SECTION See_Also ##### -->
18 <!-- ##### STRUCT GstTypeFactory ##### -->
20 The struct with the typefactory information.
28 <!-- ##### STRUCT GstTypeDefinition ##### -->
33 @name: The name of this factory
34 @mime: The mime type of the new type.
35 @exts: The extensions of this type.
36 @typefindfunc: An optional typefind function.
38 <!-- ##### USER_FUNCTION GstTypeFindFunc ##### -->
40 This is the function that will be called when a typefind has to be
41 performed by a plugin.
44 @buf: the buffer with media on which to perform the typefind
45 @priv: private; don't touch
46 @Returns: A #GstCaps structure describing the type or NULL if the
47 type was not recognized by this function;
50 <!-- ##### FUNCTION gst_typefactory_new ##### -->
59 <!-- ##### FUNCTION gst_typefactory_find ##### -->