From d38e242a724b5cf8f818a328d26227ce80b54d69 Mon Sep 17 00:00:00 2001 From: Vineeth T M Date: Mon, 20 Oct 2014 18:25:08 +0530 Subject: [PATCH] audiomixer: critical error for blocksize, timeout min/max values Audiomixer blocksize, cant be 0, hence adjusting the minimum value to 1 timeout value of aggregator is defined with MAX of MAXINT64, but it cannot cross G_MAXLONG * GST_SECOND - 1 Hence changed the max value of the same https://bugzilla.gnome.org/show_bug.cgi?id=738845 --- gst/audiomixer/gstaudiomixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/audiomixer/gstaudiomixer.c b/gst/audiomixer/gstaudiomixer.c index 4fd8d99e2d..41de0da737 100644 --- a/gst/audiomixer/gstaudiomixer.c +++ b/gst/audiomixer/gstaudiomixer.c @@ -791,7 +791,7 @@ gst_audiomixer_class_init (GstAudioMixerClass * klass) g_object_class_install_property (gobject_class, PROP_BLOCKSIZE, g_param_spec_uint ("blocksize", "Block Size", - "Output block size in number of samples", 0, + "Output block size in number of samples", 1, G_MAXUINT, DEFAULT_BLOCKSIZE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));