rtpspeexdepay: Remove caps restrictions for depayloader
authorOlivier Crête <olivier.crete@collabora.com>
Thu, 6 Mar 2014 16:02:09 +0000 (11:02 -0500)
committerOlivier Crête <olivier.crete@collabora.com>
Thu, 6 Mar 2014 16:03:04 +0000 (11:03 -0500)
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

index 97250a7..5a61fda 100644 (file)
@@ -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 =