summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2008-04-30 12:10:02 +0000
committerTim-Philipp Müller <tim@centricular.net>2008-04-30 12:10:02 +0000
commite483f6c651ad2ba618636d751716fba155400c99 (patch)
treee6d985fe215a22e1d116ab5d3b2d3e15ece45892
parent882a710c29506ce4a3dd2c799a36f5b5c3e5ca9a (diff)
gst/qtdemux/qtdemux.c: Fix swapped pad template names, spotted by Thiago Sousa Santos.
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_videosrc_template), (gst_qtdemux_audiosrc_template): Fix swapped pad template names, spotted by Thiago Sousa Santos.
-rw-r--r--ChangeLog6
-rw-r--r--gst/qtdemux/qtdemux.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ffe44f3..ca04301b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
+
+ * gst/qtdemux/qtdemux.c: (gst_qtdemux_videosrc_template),
+ (gst_qtdemux_audiosrc_template):
+ Fix swapped pad template names, spotted by Thiago Sousa Santos.
+
2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
* ext/speex/gstspeexdec.c: (speex_dec_sink_event),
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 33061f5c..715af948 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -205,13 +205,13 @@ static GstStaticPadTemplate gst_qtdemux_sink_template =
);
static GstStaticPadTemplate gst_qtdemux_videosrc_template =
-GST_STATIC_PAD_TEMPLATE ("audio_%02d",
+GST_STATIC_PAD_TEMPLATE ("video_%02d",
GST_PAD_SRC,
GST_PAD_SOMETIMES,
GST_STATIC_CAPS_ANY);
static GstStaticPadTemplate gst_qtdemux_audiosrc_template =
-GST_STATIC_PAD_TEMPLATE ("video_%02d",
+GST_STATIC_PAD_TEMPLATE ("audio_%02d",
GST_PAD_SRC,
GST_PAD_SOMETIMES,
GST_STATIC_CAPS_ANY);