aboutsummaryrefslogtreecommitdiff
path: root/gst/gsttypefindfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gsttypefindfactory.h')
-rw-r--r--gst/gsttypefindfactory.h31
1 files changed, 6 insertions, 25 deletions
diff --git a/gst/gsttypefindfactory.h b/gst/gsttypefindfactory.h
index 3d8ff31..332134b 100644
--- a/gst/gsttypefindfactory.h
+++ b/gst/gsttypefindfactory.h
@@ -36,34 +36,13 @@ G_BEGIN_DECLS
#define GST_IS_TYPE_FIND_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_TYPE_FIND_FACTORY))
#define GST_TYPE_FIND_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_TYPE_FIND_FACTORY, GstTypeFindFactoryClass))
-typedef struct _GstTypeFindFactory GstTypeFindFactory;
-typedef struct _GstTypeFindFactoryClass GstTypeFindFactoryClass;
-
/**
* GstTypeFindFactory:
*
- * Object that stores information about a typefind function.
+ * Opaque object that stores information about a typefind function.
*/
-struct _GstTypeFindFactory {
- GstPluginFeature feature;
- /* <private> */
-
- 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;
- /* <private> */
-
- gpointer _gst_reserved[GST_PADDING];
-};
+typedef struct _GstTypeFindFactory GstTypeFindFactory;
+typedef struct _GstTypeFindFactoryClass GstTypeFindFactoryClass;
/* typefinding interface */
@@ -71,8 +50,10 @@ GType gst_type_find_factory_get_type (void);
GList * gst_type_find_factory_get_list (void);
-gchar ** gst_type_find_factory_get_extensions (GstTypeFindFactory *factory);
+const gchar * const * gst_type_find_factory_get_extensions (GstTypeFindFactory *factory);
+
GstCaps * gst_type_find_factory_get_caps (GstTypeFindFactory *factory);
+gboolean gst_type_find_factory_has_function (GstTypeFindFactory *factory);
void gst_type_find_factory_call_function (GstTypeFindFactory *factory,
GstTypeFind *find);