summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 =