From 745be945cea04ddb08a664dc7ce4fd4e09ba1b8e Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Sat, 15 Jun 2013 12:29:31 +0200 Subject: [PATCH] rtpmp2tdepay: accept mislabelled streams from GStreamer 0.10 as well The mp2t payloader in 0.10 mislabelled the streams as MP2T-ES instead of MP2T, so accept that as well for compatibility reasons. https://bugzilla.gnome.org/show_bug.cgi?id=702457 --- gst/rtp/gstrtpmp2tdepay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/rtp/gstrtpmp2tdepay.c b/gst/rtp/gstrtpmp2tdepay.c index 06843f6..345d906 100644 --- a/gst/rtp/gstrtpmp2tdepay.c +++ b/gst/rtp/gstrtpmp2tdepay.c @@ -55,7 +55,8 @@ static GstStaticPadTemplate gst_rtp_mp2t_depay_sink_template = GST_PAD_ALWAYS, GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"video\", " - "clock-rate = (int) [1, MAX ], " "encoding-name = (string) \"MP2T\";" + "clock-rate = (int) [1, MAX ], " + "encoding-name = (string) { MP2T, MP2T-ES } ;" /* All optional parameters * * "profile-level-id=[1,MAX]" -- 2.7.4