10L again with the options mins

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9603 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
albeu 2003-03-15 20:55:33 +00:00
parent 9a78fbaa84
commit 9ff9267e0e
1 changed files with 4 additions and 4 deletions

View File

@ -120,10 +120,10 @@ static int open(vf_instance_t *vf, char* args){
#define ST_OFF(f) M_ST_OFF(struct vf_priv_s,f) #define ST_OFF(f) M_ST_OFF(struct vf_priv_s,f)
static m_option_t vf_opts_fields[] = { static m_option_t vf_opts_fields[] = {
{"w", ST_OFF(crop_w), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL}, {"w", ST_OFF(crop_w), CONF_TYPE_INT, M_OPT_MIN,0 ,0, NULL},
{"h", ST_OFF(crop_h), CONF_TYPE_INT, M_OPT_MIN,1 ,0, NULL}, {"h", ST_OFF(crop_h), CONF_TYPE_INT, M_OPT_MIN,0 ,0, NULL},
{"x", ST_OFF(crop_x), CONF_TYPE_INT, M_OPT_MIN,0 ,0, NULL}, {"x", ST_OFF(crop_x), CONF_TYPE_INT, M_OPT_MIN,-1 ,0, NULL},
{"y", ST_OFF(crop_y), CONF_TYPE_INT, M_OPT_MIN,0 ,0, NULL}, {"y", ST_OFF(crop_y), CONF_TYPE_INT, M_OPT_MIN,-1 ,0, NULL},
{ NULL, NULL, 0, 0, 0, 0, NULL } { NULL, NULL, 0, 0, 0, 0, NULL }
}; };