diff --git a/video/sws_utils.c b/video/sws_utils.c index a3aa57e5c2..7966c97f64 100644 --- a/video/sws_utils.c +++ b/video/sws_utils.c @@ -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)},