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
@ -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…
x
Reference in New Issue
Block a user