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:
3cc67ff
)
rtpbasepayload: Fix payload type property boundary value
author
Sebastian Rasmussen
<sebrn@axis.com>
Thu, 30 Jan 2014 23:18:35 +0000
(
00:18
+0100)
committer
Wim Taymans
<wtaymans@redhat.com>
Mon, 24 Feb 2014 11:10:26 +0000
(12:10 +0100)
The payload type field in an RTP packet header is 7 bits wide, hence the
boundary values ought to be 0x00 and 0x7f, not the previously stated
values 0x00 and 0x80.
gst-libs/gst/rtp/gstrtpbasepayload.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/rtp/gstrtpbasepayload.c
b/gst-libs/gst/rtp/gstrtpbasepayload.c
index
c0893c7
..
83daed5
100644
(file)
--- a/
gst-libs/gst/rtp/gstrtpbasepayload.c
+++ b/
gst-libs/gst/rtp/gstrtpbasepayload.c
@@
-183,7
+183,7
@@
gst_rtp_base_payload_class_init (GstRTPBasePayloadClass * klass)
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PT,
g_param_spec_uint ("pt", "payload type",
- "The payload type of the packets", 0, 0x
80
, DEFAULT_PT,
+ "The payload type of the packets", 0, 0x
7f
, DEFAULT_PT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SSRC,
g_param_spec_uint ("ssrc", "SSRC",