diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-12-02 15:33:25 -0500 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-12-02 15:33:25 -0500 |
commit | e3b0fb2a5d62cc68b5daf5d1549f114cad372af2 (patch) | |
tree | 4e8f1a13f867b731f8afc7f3cc38e990b4bdc9d7 | |
parent | 148da6210a4f9593cc0be6424e0e26556b72f0ba (diff) |
rtpmpadepay: Relax caps to allow any clock-rate
Some Wowza setups seem to send an invalid non-90000 clock-rate.
-rw-r--r-- | gst/rtp/gstrtpmpadepay.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/rtp/gstrtpmpadepay.c b/gst/rtp/gstrtpmpadepay.c index bc9ff06e0..b77ac06f4 100644 --- a/gst/rtp/gstrtpmpadepay.c +++ b/gst/rtp/gstrtpmpadepay.c @@ -42,11 +42,11 @@ static GstStaticPadTemplate gst_rtp_mpa_depay_sink_template = GST_PAD_ALWAYS, GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"audio\", " - "clock-rate = (int) 90000, " "encoding-name = (string) \"MPA\";" + "payload = (int) " GST_RTP_PAYLOAD_MPA_STRING ", " + "clock-rate = (int) 90000 ;" "application/x-rtp, " "media = (string) \"audio\", " - "payload = (int) " GST_RTP_PAYLOAD_MPA_STRING ", " - "clock-rate = (int) 90000") + "encoding-name = (string) \"MPA\", clock-rate = (int) [1, MAX]") ); #define gst_rtp_mpa_depay_parent_class parent_class |