From: Jens Georg Date: Sat, 15 Jun 2013 10:29:31 +0000 (+0200) Subject: rtpmp2tdepay: accept mislabelled streams from GStreamer 0.10 as well X-Git-Tag: 1.1.2~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=745be945cea04ddb08a664dc7ce4fd4e09ba1b8e;p=platform%2Fupstream%2Fgst-plugins-good.git 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 --- 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]"