mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
rtprtxsend: use a realistic limit for the value of max-size-packets
G_MAXINT16 is chosen because if the queue contains more than G_MAXINT16 packets, seqnum comparison will not work properly.
This commit is contained in:
parent
51edc07127
commit
0a8b149e9e
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ gst_rtp_rtx_send_class_init (GstRtpRtxSendClass * klass)
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_MAX_SIZE_PACKETS,
|
g_object_class_install_property (gobject_class, PROP_MAX_SIZE_PACKETS,
|
||||||
g_param_spec_uint ("max-size-packets", "Max Size Packets",
|
g_param_spec_uint ("max-size-packets", "Max Size Packets",
|
||||||
"Amount of packets to queue (0 = unlimited)", 0, G_MAXUINT,
|
"Amount of packets to queue (0 = unlimited)", 0, G_MAXINT16,
|
||||||
DEFAULT_MAX_SIZE_PACKETS,
|
DEFAULT_MAX_SIZE_PACKETS,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue