aboutsummaryrefslogtreecommitdiff
path: root/gst/rtp/gstrtpamrdepay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpamrdepay.c')
-rw-r--r--gst/rtp/gstrtpamrdepay.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/rtp/gstrtpamrdepay.c b/gst/rtp/gstrtpamrdepay.c
index e1208bfa..4c6b7224 100644
--- a/gst/rtp/gstrtpamrdepay.c
+++ b/gst/rtp/gstrtpamrdepay.c
@@ -78,7 +78,8 @@ static GstStaticPadTemplate gst_rtp_amr_depay_sink_template =
"media = (string) \"audio\", "
"clock-rate = (int) 8000, "
"encoding-name = (string) \"AMR\", "
- "encoding-params = (string) \"1\", "
+ /* This is the default, so the peer doesn't have to specify it
+ * "encoding-params = (string) \"1\", " */
/* NOTE that all values must be strings in orde to be able to do SDP <->
* GstCaps mapping. */
"octet-align = (string) \"1\";"
@@ -97,7 +98,8 @@ static GstStaticPadTemplate gst_rtp_amr_depay_sink_template =
"media = (string) \"audio\", "
"clock-rate = (int) 16000, "
"encoding-name = (string) \"AMR-WB\", "
- "encoding-params = (string) \"1\", "
+ /* This is the default, so the peer doesn't have to specify it
+ * "encoding-params = (string) \"1\", " */
/* NOTE that all values must be strings in orde to be able to do SDP <->
* GstCaps mapping. */
"octet-align = (string) \"1\";"