From fb5394dbf0b157f7dae03a6451272b0845971c9e Mon Sep 17 00:00:00 2001 From: Vineeth T M Date: Tue, 3 Feb 2015 10:18:58 +0530 Subject: [PATCH] quarktv: fix "planes" property range, a value of 0 is not allowed When planes property is set to 0, the pipeline executes in an infinite loop and never exits. Since planes must never be 0, set the minimum value in the property description to 1. https://bugzilla.gnome.org/show_bug.cgi?id=743906 --- gst/effectv/gstquark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/effectv/gstquark.c b/gst/effectv/gstquark.c index cb02643fe9..098e20c5a5 100644 --- a/gst/effectv/gstquark.c +++ b/gst/effectv/gstquark.c @@ -272,7 +272,7 @@ gst_quarktv_class_init (GstQuarkTVClass * klass) g_object_class_install_property (gobject_class, PROP_PLANES, g_param_spec_int ("planes", "Planes", - "Number of planes", 0, 64, PLANES, + "Number of planes", 1, 64, PLANES, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_CONTROLLABLE)); gst_element_class_set_static_metadata (gstelement_class, "QuarkTV effect",