Skip to content
Snippets Groups Projects
Commit 2f4edc5d authored by Lyndon Brown's avatar Lyndon Brown
Browse files

vulkan: add range for --pl-iterations

(to set lower bound).
parent 0280cda8
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <assert.h>
#include <limits.h>
#ifdef HAVE_CONFIG_H
# include <config.h>
......@@ -634,6 +635,7 @@ vlc_module_begin ()
add_bool("pl-debanding", false, DEBAND_TEXT, DEBAND_LONGTEXT)
add_integer("pl-iterations", pl_deband_default_params.iterations,
DEBAND_ITER_TEXT, DEBAND_ITER_LONGTEXT)
change_integer_range( 0, INT_MAX )
add_float("pl-threshold", pl_deband_default_params.threshold,
DEBAND_THRESH_TEXT, DEBAND_THRESH_LONGTEXT)
add_float("pl-radius", pl_deband_default_params.radius,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment