comparison 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
comparison
equal deleted inserted replaced
9602:74e8cd83708f 9603:f9222b8a5166
360 return 1; 360 return 1;
361 } 361 }
362 362
363 #define ST_OFF(f) M_ST_OFF(struct vf_priv_s,f) 363 #define ST_OFF(f) M_ST_OFF(struct vf_priv_s,f)
364 static m_option_t vf_opts_fields[] = { 364 static m_option_t vf_opts_fields[] = {
365 {"w", ST_OFF(exp_w), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL}, 365 {"w", ST_OFF(exp_w), CONF_TYPE_INT, 0, 0 ,0, NULL},
366 {"h", ST_OFF(exp_h), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL}, 366 {"h", ST_OFF(exp_h), CONF_TYPE_INT, 0, 0 ,0, NULL},
367 {"x", ST_OFF(exp_x), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL}, 367 {"x", ST_OFF(exp_x), CONF_TYPE_INT, M_OPT_MIN, -1, 0, NULL},
368 {"y", ST_OFF(exp_y), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL}, 368 {"y", ST_OFF(exp_y), CONF_TYPE_INT, M_OPT_MIN, -1, 0, NULL},
369 {"osd", ST_OFF(osd), CONF_TYPE_FLAG, 0 , 0, 1, NULL}, 369 {"osd", ST_OFF(osd), CONF_TYPE_FLAG, 0 , 0, 1, NULL},
370 { NULL, NULL, 0, 0, 0, 0, NULL } 370 { NULL, NULL, 0, 0, 0, 0, NULL }
371 }; 371 };
372 372
373 static m_struct_t vf_opts = { 373 static m_struct_t vf_opts = {