diff options
author | Jens Georg <mail@jensge.org> | 2013-06-15 12:29:31 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-06-17 15:39:17 +0100 |
commit | 745be945cea04ddb08a664dc7ce4fd4e09ba1b8e (patch) | |
tree | 7943d55ad5c313425b21d256f4b26e1078be401a /gst/rtp/gstrtpmp2tdepay.c | |
parent | d9bc48edc977f86b39aabe9e1f125603c82bec6a (diff) |
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
Diffstat (limited to 'gst/rtp/gstrtpmp2tdepay.c')
-rw-r--r-- | gst/rtp/gstrtpmp2tdepay.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpmp2tdepay.c b/gst/rtp/gstrtpmp2tdepay.c index 06843f641..345d90616 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]" |