mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
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
This commit is contained in:
parent
59756c1898
commit
fb5394dbf0
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue