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
This commit is contained in:
Jens Georg 2013-06-15 12:29:31 +02:00 committed by Tim-Philipp Müller
parent d9bc48edc9
commit 745be945ce

View file

@ -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]"