Fix type definition bug plus missing argument for callback
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Mon, 26 May 2003 06:15:27 +0000 (06:15 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Mon, 26 May 2003 06:15:27 +0000 (06:15 +0000)
Original commit message from CVS:
Fix type definition bug plus missing argument for callback

common
gst/gsttypefind.c
gst/gsttypefind.h

diff --git a/common b/common
index 54aa761..9a3a505 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 54aa761f9d486bca3ee35029a110386a144340c5
+Subproject commit 9a3a505fcc52865de0bedbb3ee1ce0a6dcc9a025
index 91e1c1c..4f305da 100644 (file)
@@ -116,7 +116,7 @@ gst_type_find_class_init (GstTypeFindClass *klass)
       g_signal_new ("have_type", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
                      G_STRUCT_OFFSET (GstTypeFindClass, have_type), NULL, NULL,
                      g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1,
-                     G_TYPE_POINTER);
+                     G_TYPE_OBJECT);
 
   gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_type_find_set_property);
   gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_type_find_get_property);
index e584a82..ea072da 100644 (file)
@@ -57,7 +57,8 @@ struct _GstTypeFindClass {
   GstElementClass      parent_class;
 
   /* signals */
-  void                         (*have_type)    (GstElement *element);
+  void                         (*have_type)    (GstElement *element,
+                                        GstCaps    *caps);
 };
 
 GType gst_type_find_get_type (void);