summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-08-10 16:10:47 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-08-10 16:10:47 +0000
commite640bc6a4bdd8fae0d31edd6b4a3f21b348c33f2 (patch)
treea3f0cd0cbb05a1a02051a5ee6e55933af7bf0164
parent71a8b2e7bc4fd1f9cc7c7ff527c518dcd4d088f9 (diff)
gst/rtp/gstrtpmpvdepay.c: Set the mpegversion in the caps so that autoplugging does not get confused.
Original commit message from CVS: * gst/rtp/gstrtpmpvdepay.c: Set the mpegversion in the caps so that autoplugging does not get confused.
-rw-r--r--ChangeLog6
-rw-r--r--gst/rtp/gstrtpmpvdepay.c5
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 55b47e17..383974d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-08-10 Wim Taymans <wim.taymans@gmail.com>
+
+ * gst/rtp/gstrtpmpvdepay.c:
+ Set the mpegversion in the caps so that autoplugging does not get
+ confused.
+
2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
* po/hu.po:
diff --git a/gst/rtp/gstrtpmpvdepay.c b/gst/rtp/gstrtpmpvdepay.c
index 08d92a5d..f1fe41cc 100644
--- a/gst/rtp/gstrtpmpvdepay.c
+++ b/gst/rtp/gstrtpmpvdepay.c
@@ -48,11 +48,14 @@ enum
ARG_0,
};
+/* FIXME, we set the mpeg version to 2, we should ideally be looking at contents
+ * of the stream to figure out the version */
static GstStaticPadTemplate gst_rtp_mpv_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("video/mpeg, systemstream = (boolean) FALSE")
+ GST_STATIC_CAPS
+ ("video/mpeg, mpegversion = (int) 2, systemstream = (boolean) FALSE")
);
static GstStaticPadTemplate gst_rtp_mpv_depay_sink_template =