summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/rtp/gstrtpmpvdepay.c5
1 files changed, 4 insertions, 1 deletions
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 =