rtpjitterbuffer: max-dropout-time gets cast to int32
authorOlivier Crête <olivier.crete@collabora.com>
Fri, 24 May 2019 14:31:39 +0000 (10:31 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 20 Aug 2019 15:42:01 +0000 (16:42 +0100)
So any value over MAXINT32 gets considered as negative and is silently ignored.

gst/rtpmanager/gstrtpjitterbuffer.c

index 1bd3668..e8b636f 100644 (file)
@@ -784,7 +784,7 @@ gst_rtp_jitter_buffer_class_init (GstRtpJitterBufferClass * klass)
   g_object_class_install_property (gobject_class, PROP_MAX_DROPOUT_TIME,
       g_param_spec_uint ("max-dropout-time", "Max dropout time",
           "The maximum time (milliseconds) of missing packets tolerated.",
-          0, G_MAXUINT, DEFAULT_MAX_DROPOUT_TIME,
+          0, G_MAXINT32, DEFAULT_MAX_DROPOUT_TIME,
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
   g_object_class_install_property (gobject_class, PROP_MAX_MISORDER_TIME,