diff libmpcodecs/vf_expand.c @ 9603:f9222b8a5166

And 10L their, i should have started to read vop.txt sooner ;)
author albeu
date Sat, 15 Mar 2003 20:59:16 +0000
parents a4b6e7caaa4b
children 30cad6ad9dbc
line wrap: on
line diff
--- a/libmpcodecs/vf_expand.c	Sat Mar 15 20:55:33 2003 +0000
+++ b/libmpcodecs/vf_expand.c	Sat Mar 15 20:59:16 2003 +0000
@@ -362,10 +362,10 @@
 
 #define ST_OFF(f) M_ST_OFF(struct vf_priv_s,f)
 static m_option_t vf_opts_fields[] = {
-  {"w", ST_OFF(exp_w), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL},
-  {"h", ST_OFF(exp_h), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL},
-  {"x", ST_OFF(exp_x), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL},
-  {"y", ST_OFF(exp_y), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL},
+  {"w", ST_OFF(exp_w), CONF_TYPE_INT, 0, 0 ,0, NULL},
+  {"h", ST_OFF(exp_h), CONF_TYPE_INT, 0, 0 ,0, NULL},
+  {"x", ST_OFF(exp_x), CONF_TYPE_INT, M_OPT_MIN, -1, 0, NULL},
+  {"y", ST_OFF(exp_y), CONF_TYPE_INT, M_OPT_MIN, -1, 0, NULL},
   {"osd", ST_OFF(osd), CONF_TYPE_FLAG, 0 , 0, 1, NULL},
   { NULL, NULL, 0, 0, 0, 0,  NULL }
 };