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)
committerOlivier Crête <olivier.crete@ocrete.ca>
Tue, 2 Jul 2019 19:59:49 +0000 (19:59 +0000)
So any value over MAXINT32 gets considered as negative and is silently ignored.

gst/rtpmanager/gstrtpjitterbuffer.c

index a6e5a3f..35326dd 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,