]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/vsrc_testsrc: increase max level of haldclutsrc
authorPaul B Mahol <onemda@gmail.com>
Sat, 26 Oct 2019 08:24:03 +0000 (10:24 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 26 Oct 2019 08:32:20 +0000 (10:32 +0200)
So it matches lut3d and haldclut filter.

libavfilter/vsrc_testsrc.c

index 2a365bdc15ca180f593fd84d280d83088a78787d..42d74577b76090984a08b2a94721dea558446ed7 100644 (file)
@@ -280,7 +280,7 @@ AVFilter ff_vsrc_color = {
 #if CONFIG_HALDCLUTSRC_FILTER
 
 static const AVOption haldclutsrc_options[] = {
-    { "level", "set level", OFFSET(level), AV_OPT_TYPE_INT, {.i64 = 6}, 2, 8, FLAGS },
+    { "level", "set level", OFFSET(level), AV_OPT_TYPE_INT, {.i64 = 6}, 2, 16, FLAGS },
     COMMON_OPTIONS_NOSIZE
     { NULL }
 };