video/sws_utils: limit sws-cvs and sws-chs to [-100, 100]
Makes no sense to create filters with some huge offsets.
This commit is contained in:
1 parent
1bd6e28780
commit
5bc5489e56
1 file changed
+2
-2
+2
-2
@@ -73,8 +73,8 @@ const struct m_sub_options sws_conf = {
|
||||
{"spline", SWS_SPLINE})},
|
||||
{"lgb", OPT_FLOAT(lum_gblur), M_RANGE(0, 100.0)},
|
||||
{"cgb", OPT_FLOAT(chr_gblur), M_RANGE(0, 100.0)},
|
||||
{"cvs", OPT_INT(chr_vshift)},
|
||||
{"chs", OPT_INT(chr_hshift)},
|
||||
{"cvs", OPT_INT(chr_vshift), M_RANGE(-100, 100)},
|
||||
{"chs", OPT_INT(chr_hshift), M_RANGE(-100, 100)},
|
||||
{"ls", OPT_FLOAT(lum_sharpen), M_RANGE(-100.0, 100.0)},
|
||||
{"cs", OPT_FLOAT(chr_sharpen), M_RANGE(-100.0, 100.0)},
|
||||
{"fast", OPT_BOOL(fast)},
|
||||
|
||||
Reference in new issue
Block a user