diff options
author | Vineeth T M <vineeth.tm@samsung.com> | 2015-02-03 10:18:58 +0530 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-03-28 11:31:42 +0000 |
commit | fb5394dbf0b157f7dae03a6451272b0845971c9e (patch) | |
tree | a9abb70cd93a847f9fad098f4ad8b4840efd4da4 /gst/effectv/gstquark.c | |
parent | 59756c1898e71b318a63150ed9f44fb3f79ad3a8 (diff) |
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
Diffstat (limited to 'gst/effectv/gstquark.c')
-rw-r--r-- | gst/effectv/gstquark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/effectv/gstquark.c b/gst/effectv/gstquark.c index cb02643fe..098e20c5a 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", |