warning: passing arg 1 of 'gst_caps_unref' from incompatible pointer type
authorBenjamin Otte <otte@gnome.org>
Wed, 6 Mar 2002 08:30:05 +0000 (08:30 +0000)
committerBenjamin Otte <otte@gnome.org>
Wed, 6 Mar 2002 08:30:05 +0000 (08:30 +0000)
Original commit message from CVS:
warning: passing arg 1 of 'gst_caps_unref' from incompatible pointer type

gst/autoplug/gstsearchfuncs.c

index 97ef02a..4e5544d 100644 (file)
@@ -64,7 +64,7 @@ gst_autoplag_caps_intersect (GstCaps *src, GstCaps *sink)
     return FALSE;
   
   /* hurrah, we can connect, now remove the intersection */
-  gst_caps_unref (GST_OBJECT (caps));
+  gst_caps_unref (caps);
   return TRUE;
 }