collectpads: port API changes
authorStefan Sauer <ensonic@users.sf.net>
Thu, 17 Nov 2011 07:24:58 +0000 (08:24 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 17 Nov 2011 07:44:45 +0000 (08:44 +0100)
ext/cairo/gsttextoverlay.c
gst/avi/gstavimux.c
gst/flv/gstflvmux.c
gst/interleave/interleave.c
gst/isomp4/gstqtmux.c
gst/matroska/matroska-mux.c
gst/multipart/multipartmux.c
gst/smpte/gstsmpte.c
gst/videomixer/videomixer.c

index 3f4fe3a9bd1004230f3f862f37df82f8339b1632..839d9daa97a80ccabedffca9120d1a33346aff40 100644 (file)
@@ -285,7 +285,7 @@ gst_text_overlay_init (GstCairoTextOverlay * overlay,
       GST_DEBUG_FUNCPTR (gst_text_overlay_collected), overlay);
 
   overlay->video_collect_data = gst_collect_pads_add_pad (overlay->collect,
-      overlay->video_sinkpad, sizeof (GstCollectData));
+      overlay->video_sinkpad, sizeof (GstCollectData), NULL);
 
   /* FIXME: hacked way to override/extend the event function of
    * GstCollectPads; because it sets its own event function giving the
@@ -641,7 +641,7 @@ gst_text_overlay_text_pad_linked (GstPad * pad, GstPad * peer)
 
   if (overlay->text_collect_data == NULL) {
     overlay->text_collect_data = gst_collect_pads_add_pad (overlay->collect,
-        overlay->text_sinkpad, sizeof (GstCollectData));
+        overlay->text_sinkpad, sizeof (GstCollectData), NULL);
   }
 
   overlay->need_render = TRUE;
index 6e273490779490740313de4acad2a2db1e61a4e5..ee099c0d950d29dfb856ed544137bb1cedd158b5 100644 (file)
@@ -977,7 +977,7 @@ gst_avi_mux_request_new_pad (GstElement * element,
   g_free (name);
 
   avipad->collect = gst_collect_pads_add_pad (avimux->collect,
-      newpad, sizeof (GstAviCollectData));
+      newpad, sizeof (GstAviCollectData), NULL);
   ((GstAviCollectData *) (avipad->collect))->avipad = avipad;
   /* FIXME: hacked way to override/extend the event function of
    * GstCollectPads; because it sets its own event function giving the
index 9efd60b8f963f8dbcb7bce9c767c8ebcb2a13abb..b8bf9144e16070d63713d79f83291e5a4d10d014 100644 (file)
@@ -565,7 +565,7 @@ gst_flv_mux_request_new_pad (GstElement * element,
 
   pad = gst_pad_new_from_template (templ, name);
   cpad = (GstFlvPad *)
-      gst_collect_pads_add_pad (mux->collect, pad, sizeof (GstFlvPad));
+      gst_collect_pads_add_pad (mux->collect, pad, sizeof (GstFlvPad), NULL);
 
   cpad->audio_codec_data = NULL;
   cpad->video_codec_data = NULL;
index e5bb9492831416d34837f6808bb16a82d9ebe096..f5d600497613e2855099061e60525707b44c5e33 100644 (file)
@@ -500,7 +500,8 @@ gst_interleave_request_new_pad (GstElement * element, GstPadTemplate * templ,
   gst_pad_set_getcaps_function (new_pad,
       GST_DEBUG_FUNCPTR (gst_interleave_sink_getcaps));
 
-  gst_collect_pads_add_pad (self->collect, new_pad, sizeof (GstCollectData));
+  gst_collect_pads_add_pad (self->collect, new_pad, sizeof (GstCollectData),
+      NULL);
 
   /* FIXME: hacked way to override/extend the event function of
    * GstCollectPads; because it sets its own event function giving the
index c3d172a9a2893b60c948f49c1ff543af447a96a1..ba298627aa1fcb53c5da1844daf1fc3fa288449e 100644 (file)
@@ -3418,7 +3418,7 @@ gst_qt_mux_request_new_pad (GstElement * element,
   newpad = gst_pad_new_from_template (templ, name);
   g_free (name);
   collect_pad = (GstQTPad *)
-      gst_collect_pads_add_pad_full (qtmux->collect, newpad, sizeof (GstQTPad),
+      gst_collect_pads_add_pad (qtmux->collect, newpad, sizeof (GstQTPad),
       (GstCollectDataDestroyNotify) (gst_qt_mux_pad_reset));
   /* set up pad */
   gst_qt_mux_pad_reset (collect_pad);
index d48d56c18eba003dd360d9c3fb5ebc040edaf9f3..06e7d424d66a7be57bfb4b007b2f68ce2dac8578 100644 (file)
@@ -1901,7 +1901,7 @@ gst_matroska_mux_request_new_pad (GstElement * element,
   newpad = gst_pad_new_from_template (templ, pad_name);
   g_free (name);
   collect_pad = (GstMatroskaPad *)
-      gst_collect_pads_add_pad_full (mux->collect, newpad,
+      gst_collect_pads_add_pad (mux->collect, newpad,
       sizeof (GstMatroskaPad),
       (GstCollectDataDestroyNotify) gst_matroska_pad_free);
 
index 94d62649c3b7f8dba82aaa37720e8369711811d0..5ae7cca9e4cb5d3e6fef0fe8d6c85a93f706f058 100644 (file)
@@ -195,7 +195,7 @@ gst_multipart_mux_request_new_pad (GstElement * element,
 
     multipartpad = (GstMultipartPadData *)
         gst_collect_pads_add_pad (multipart_mux->collect, newpad,
-        sizeof (GstMultipartPadData));
+        sizeof (GstMultipartPadData), NULL);
 
     /* save a pointer to our data in the pad */
     multipartpad->pad = newpad;
index ce8323471ae776a0a41ded5a56f6c0223c1185b4..a830e6a527f800d76b74fbb6be744a73a06c1530 100644 (file)
@@ -366,9 +366,9 @@ gst_smpte_init (GstSMPTE * smpte)
   gst_collect_pads_start (smpte->collect);
 
   gst_collect_pads_add_pad (smpte->collect, smpte->sinkpad1,
-      sizeof (GstCollectData));
+      sizeof (GstCollectData), NULL);
   gst_collect_pads_add_pad (smpte->collect, smpte->sinkpad2,
-      sizeof (GstCollectData));
+      sizeof (GstCollectData), NULL);
 
   smpte->fps = DEFAULT_PROP_FPS;
   smpte->type = DEFAULT_PROP_TYPE;
index 9b89e82f59356e1ba7870fcc44c116e1f05e5bbc..ae0a5383ac005bf10a323ff897dedcd282f153fc 100644 (file)
@@ -1231,7 +1231,7 @@ gst_videomixer_request_new_pad (GstElement * element,
 
     mixcol = (GstVideoMixerCollect *)
         gst_collect_pads_add_pad (mix->collect, GST_PAD (mixpad),
-        sizeof (GstVideoMixerCollect));
+        sizeof (GstVideoMixerCollect), NULL);
 
     /* FIXME: hacked way to override/extend the event function of
      * GstCollectPads; because it sets its own event function giving the