projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51edc07
)
rtprtxsend: use a realistic limit for the value of max-size-packets
author
George Kiagiadakis
<george.kiagiadakis@collabora.com>
Tue, 5 Nov 2013 07:33:51 +0000
(09:33 +0200)
committer
Wim Taymans
<wtaymans@redhat.com>
Fri, 3 Jan 2014 19:48:28 +0000
(20:48 +0100)
G_MAXINT16 is chosen because if the queue contains more than
G_MAXINT16 packets, seqnum comparison will not work properly.
gst/rtpmanager/gstrtprtxsend.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/gstrtprtxsend.c
b/gst/rtpmanager/gstrtprtxsend.c
index
ce02d31
..
a4a0290
100644
(file)
--- a/
gst/rtpmanager/gstrtprtxsend.c
+++ b/
gst/rtpmanager/gstrtprtxsend.c
@@
-133,7
+133,7
@@
gst_rtp_rtx_send_class_init (GstRtpRtxSendClass * klass)
g_object_class_install_property (gobject_class, PROP_MAX_SIZE_PACKETS,
g_param_spec_uint ("max-size-packets", "Max Size Packets",
- "Amount of packets to queue (0 = unlimited)", 0, G_MAX
UINT
,
+ "Amount of packets to queue (0 = unlimited)", 0, G_MAX
INT16
,
DEFAULT_MAX_SIZE_PACKETS,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));