projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0a5c0f
)
rtpsirenpay: Put the bitrate in the RTP caps
author
Olivier Crête
<olivier.crete@collabora.co.uk>
Tue, 9 Jun 2009 18:13:31 +0000
(14:13 -0400)
committer
Olivier Crête
<olivier.crete@collabora.co.uk>
Tue, 9 Jun 2009 18:13:31 +0000
(14:13 -0400)
The MS code seems to require the bitrate to interoperate and
draft-ietf-avt-rtp-g7221-00 also has it.
gst/rtp/gstrtpsirenpay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpsirenpay.c
b/gst/rtp/gstrtpsirenpay.c
index
b03281b
..
211663e
100644
(file)
--- 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,