Merge branch 'master' into 0.11
[platform/upstream/gstreamer.git] / gst / gsttypefindfactory.h
index d4424e7..3d8ff31 100644 (file)
@@ -45,35 +45,36 @@ typedef struct _GstTypeFindFactoryClass GstTypeFindFactoryClass;
  * Object that stores information about a typefind function.
  */
 struct _GstTypeFindFactory {
-  GstPluginFeature             feature;
+  GstPluginFeature              feature;
   /* <private> */
 
-  GstTypeFindFunction          function;
-  gchar **                     extensions;
-  GstCaps *                    caps; /* FIXME: not yet saved in registry */
-  
-  gpointer                     user_data;
-    
+  GstTypeFindFunction           function;
+  gchar **                      extensions;
+  GstCaps *                     caps; /* FIXME: not yet saved in registry */
+
+  gpointer                      user_data;
+  GDestroyNotify                user_data_notify;
+
   gpointer _gst_reserved[GST_PADDING];
 };
-                                                                                                                                                                         
+
 struct _GstTypeFindFactoryClass {
-  GstPluginFeatureClass                parent;
+  GstPluginFeatureClass         parent;
   /* <private> */
-    
+
   gpointer _gst_reserved[GST_PADDING];
 };
 
 /* typefinding interface */
 
-GType           gst_type_find_factory_get_type         (void);
-    
-GList *                gst_type_find_factory_get_list          (void);
+GType           gst_type_find_factory_get_type          (void);
+
+GList *         gst_type_find_factory_get_list          (void);
 
-gchar **       gst_type_find_factory_get_extensions    (const GstTypeFindFactory *factory);
-const GstCaps *        gst_type_find_factory_get_caps          (const GstTypeFindFactory *factory);
-void           gst_type_find_factory_call_function     (const GstTypeFindFactory *factory,
-                                                        GstTypeFind *find);
+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);
 
 G_END_DECLS