collectpads: port API changes
authorStefan Sauer <ensonic@users.sf.net>
Thu, 17 Nov 2011 07:24:27 +0000 (08:24 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 17 Nov 2011 07:43:23 +0000 (08:43 +0100)
gst/adder/gstadder.c

index f610575..03fc20d 100644 (file)
@@ -976,7 +976,8 @@ gst_adder_request_new_pad (GstElement * element, GstPadTemplate * templ,
   g_free (name);
 
   gst_pad_set_query_function (newpad, GST_DEBUG_FUNCPTR (gst_adder_sink_query));
-  gst_collect_pads_add_pad (adder->collect, newpad, sizeof (GstCollectData));
+  gst_collect_pads_add_pad (adder->collect, newpad, sizeof (GstCollectData),
+      NULL);
 
   /* FIXME: hacked way to override/extend the event function of
    * GstCollectPads; because it sets its own event function giving the