diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2005-12-14 20:05:45 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2005-12-14 20:05:45 +0000 |
commit | 373a168834f300793f6d00e64d2f30b2838e35c9 (patch) | |
tree | 525a4bb2e8611f61b33cd1a7210ac6835850cd0e | |
parent | 9a6ca70be2a0629c70ff22de76148ee85d572642 (diff) |
Set clock rate to be fixed in 8000. It fixes bug #324012.
Original commit message from CVS:
Set clock rate to be fixed in 8000. It fixes bug #324012.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gst/rtp/gstrtpspeexdepay.c | 1 | ||||
-rw-r--r-- | gst/rtp/gstrtpspeexpay.c | 7 |
3 files changed, 10 insertions, 4 deletions
@@ -1,3 +1,9 @@ +2005-12-14 Edgard Lima <edgard.lima@indt.org.br> + + * gst/rtp/gstrtpspeexdepay.c: + * gst/rtp/gstrtpspeexpay.c: + Set clock rate to be fixed in 8000. It fixes bug #324012. + 2005-12-14 Philippe Khalaf <burger@speedy.org> * gst-plugins-good/gst/rtp/gstasteriskh263.c: diff --git a/gst/rtp/gstrtpspeexdepay.c b/gst/rtp/gstrtpspeexdepay.c index c800c62d..c0ff29b5 100644 --- a/gst/rtp/gstrtpspeexdepay.c +++ b/gst/rtp/gstrtpspeexdepay.c @@ -46,7 +46,6 @@ GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_ALWAYS, GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"audio\", " - "payload = (int) [ 96, 127 ], " "clock-rate = (int) [6000, 48000], " "encoding-name = (string) \"speex\", " "encoding-params = (string) \"1\"") diff --git a/gst/rtp/gstrtpspeexpay.c b/gst/rtp/gstrtpspeexpay.c index 3be8869b..ac4a3742 100644 --- a/gst/rtp/gstrtpspeexpay.c +++ b/gst/rtp/gstrtpspeexpay.c @@ -41,9 +41,10 @@ static GstStaticPadTemplate gst_rtp_speex_pay_src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"audio\", " "payload = (int) 110, " /* guaranties compatibility with Linphone - Could be [96,127] See page 34 at http://www.ietf.org/rfc/rfc3551.txt */ - "clock-rate = (int) [6000, 48000], " + GST_STATIC_CAPS ("application/x-rtp, " + "media = (string) \"audio\", " + "payload = (int) [ 96, 127 ], " + "clock-rate = (int) 8000, " "encoding-name = (string) \"speex\", " "encoding-params = (string) \"1\"") ); |