summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2011-11-17 08:24:58 +0100
committerStefan Sauer <ensonic@users.sf.net>2011-11-17 08:44:45 +0100
commit8643d1caafa9c79b6ae0840624270447831d2615 (patch)
tree19f6e544d34d0376f1e8cd10f153e97c083342b0 /gst
parent7cc4b72550cf6b82f9bd30fd88544a8f888ab281 (diff)
collectpads: port API changes
Diffstat (limited to 'gst')
-rw-r--r--gst/avi/gstavimux.c2
-rw-r--r--gst/flv/gstflvmux.c2
-rw-r--r--gst/interleave/interleave.c3
-rw-r--r--gst/isomp4/gstqtmux.c2
-rw-r--r--gst/matroska/matroska-mux.c2
-rw-r--r--gst/multipart/multipartmux.c2
-rw-r--r--gst/smpte/gstsmpte.c4
-rw-r--r--gst/videomixer/videomixer.c2
8 files changed, 10 insertions, 9 deletions
diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c
index 6e2734907..ee099c0d9 100644
--- a/gst/avi/gstavimux.c
+++ b/gst/avi/gstavimux.c
@@ -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
diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c
index 9efd60b8f..b8bf9144e 100644
--- a/gst/flv/gstflvmux.c
+++ b/gst/flv/gstflvmux.c
@@ -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;
diff --git a/gst/interleave/interleave.c b/gst/interleave/interleave.c
index e5bb94928..f5d600497 100644
--- a/gst/interleave/interleave.c
+++ b/gst/interleave/interleave.c
@@ -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
diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c
index c3d172a9a..ba298627a 100644
--- a/gst/isomp4/gstqtmux.c
+++ b/gst/isomp4/gstqtmux.c
@@ -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);
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index d48d56c18..06e7d424d 100644
--- a/gst/matroska/matroska-mux.c
+++ b/gst/matroska/matroska-mux.c
@@ -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);
diff --git a/gst/multipart/multipartmux.c b/gst/multipart/multipartmux.c
index 94d62649c..5ae7cca9e 100644
--- a/gst/multipart/multipartmux.c
+++ b/gst/multipart/multipartmux.c
@@ -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;
diff --git a/gst/smpte/gstsmpte.c b/gst/smpte/gstsmpte.c
index ce8323471..a830e6a52 100644
--- a/gst/smpte/gstsmpte.c
+++ b/gst/smpte/gstsmpte.c
@@ -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;
diff --git a/gst/videomixer/videomixer.c b/gst/videomixer/videomixer.c
index 9b89e82f5..ae0a5383a 100644
--- a/gst/videomixer/videomixer.c
+++ b/gst/videomixer/videomixer.c
@@ -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