From 5a9b988b853a48bcb6275cea6d62ad648ae4c65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Thu, 6 Mar 2014 11:02:09 -0500 Subject: [PATCH] rtpspeexdepay: Remove caps restrictions for depayloader The "encoding-params" is optional in the SDP, because we now require a subset of the caps, it would fail caps negotiatioin if it wasn't present. So removed it from the template caps. --- gst/rtp/gstrtpspeexdepay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/rtp/gstrtpspeexdepay.c b/gst/rtp/gstrtpspeexdepay.c index 97250a765b..5a61fdaa7a 100644 --- a/gst/rtp/gstrtpspeexdepay.c +++ b/gst/rtp/gstrtpspeexdepay.c @@ -46,8 +46,8 @@ GST_STATIC_PAD_TEMPLATE ("sink", GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"audio\", " "clock-rate = (int) [6000, 48000], " - "encoding-name = (string) \"SPEEX\", " - "encoding-params = (string) \"1\"") + "encoding-name = (string) \"SPEEX\", ") + /* "encoding-params = (string) \"1\"" */ ); static GstStaticPadTemplate gst_rtp_speex_depay_src_template =