mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
rtpbasepayload: Fix payload type property boundary value
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.
This commit is contained in:
parent
3cc67ff494
commit
638d069c91
1 changed files with 1 additions and 1 deletions
|
@ -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, 0x80, DEFAULT_PT,
|
||||
"The payload type of the packets", 0, 0x7f, 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",
|
||||
|
|
Loading…
Reference in a new issue