From 83adc3740e2985368980cb58a46c3ab28cc20264 Mon Sep 17 00:00:00 2001 From: Michael Esemplare Date: Fri, 1 Feb 2013 17:55:33 -0800 Subject: rtpmp2tdepay: fix caps for compatibility with spec and rtpmp2tpay from 1.0 The encoding name is supposed to be MP2T according to RFC 3551 5.7, not MP2T-ES. The payloader in 1.0 was changed to produce that as per the spec, so let's accept the proper encoding-name in addition to the wrong one as well. https://bugzilla.gnome.org/show_bug.cgi?id=693043 --- 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 1cef95b90..eaef3ee15 100644 --- a/gst/rtp/gstrtpmp2tdepay.c +++ b/gst/rtp/gstrtpmp2tdepay.c @@ -56,7 +56,8 @@ static GstStaticPadTemplate gst_rtp_mp2t_depay_sink_template = GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"video\", " "payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", " - "clock-rate = (int) [1, MAX ], " "encoding-name = (string) \"MP2T-ES\";" + "clock-rate = (int) [1, MAX ], " + "encoding-name = (string) { MP2T-ES, MP2T }; " /* All optional parameters * * "profile-level-id=[1,MAX]" -- cgit v1.2.1