summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-06-09 14:13:31 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-06-09 14:13:31 -0400
commitdc61a71e5d8052fc5f270fd8478c44fd3796cf99 (patch)
tree32c59576d0c6cc3ea1235d3a7f818ee87e91fa68
parentd0a5c0f3e3a36953505fa9f71a0a92c533b4a154 (diff)
rtpsirenpay: Put the bitrate in the RTP caps
The MS code seems to require the bitrate to interoperate and draft-ietf-avt-rtp-g7221-00 also has it.
-rw-r--r--gst/rtp/gstrtpsirenpay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpsirenpay.c b/gst/rtp/gstrtpsirenpay.c
index b03281b04..211663e09 100644
--- a/gst/rtp/gstrtpsirenpay.c
+++ b/gst/rtp/gstrtpsirenpay.c
@@ -52,7 +52,8 @@ GST_STATIC_PAD_TEMPLATE ("src",
"media = (string) \"audio\", "
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
"clock-rate = (int) 16000, "
- "encoding-name = (string) \"SIREN\", " "dct-length = (int) 320")
+ "encoding-name = (string) \"SIREN\", "
+ "bitrate = (string) \"16000\", " "dct-length = (int) 320")
);
static gboolean gst_rtpsirenpay_setcaps (GstBaseRTPPayload * payload,