# HG changeset patch # User albeu # Date 1047760745 0 # Node ID ec21eefff17edc9ec3b6914e9198574f1655b891 # Parent 05a2998c428e1ef7b911c012c47964c0db290bd1 10L the scale filter accpet w and h to -3 diff -r 05a2998c428e -r ec21eefff17e libmpcodecs/vf_scale.c --- a/libmpcodecs/vf_scale.c Sat Mar 15 19:52:11 2003 +0000 +++ b/libmpcodecs/vf_scale.c Sat Mar 15 20:39:05 2003 +0000 @@ -416,8 +416,8 @@ #undef ST_OFF #define ST_OFF(f) M_ST_OFF(struct vf_priv_s,f) static m_option_t vf_opts_fields[] = { - {"w", ST_OFF(w), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL}, - {"h", ST_OFF(h), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL}, + {"w", ST_OFF(w), CONF_TYPE_INT, M_OPT_MIN,-3 ,0, NULL}, + {"h", ST_OFF(h), CONF_TYPE_INT, M_OPT_MIN,-3 ,0, NULL}, {"chr-drop", ST_OFF(v_chr_drop), CONF_TYPE_INT, M_OPT_RANGE, 0, 3, NULL}, {"param", ST_OFF(param), CONF_TYPE_INT, M_OPT_RANGE, 0, 100, NULL}, // Note that here the 2 field is NULL (ie 0)