mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
pyramidsegment: wrong value of level property
The property level has a minimum value of 0. But when we set the level as 0, it gets an assertion error. The function icvPyrSegmentation8uC3R returns false if level is set as 0, since the minimum level cant be 0 and thus results in error. Hence changing the minimum value to 1. https://bugzilla.gnome.org/show_bug.cgi?id=749525
This commit is contained in:
parent
ff6c736fe0
commit
8df641016e
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ gst_pyramid_segment_class_init (GstPyramidSegmentClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_LEVEL,
|
||||
g_param_spec_int ("level", "Level",
|
||||
"Maximum level of the pyramid segmentation", 0, 4, 4,
|
||||
"Maximum level of the pyramid segmentation", 1, 4, 4,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gst_element_class_set_static_metadata (element_class,
|
||||
|
|
Loading…
Reference in a new issue