mirror of https://github.com/mpv-player/mpv
parameter overrides limit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6611 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
668d7c5817
commit
db683916ad
|
@ -125,6 +125,7 @@ static int open(vf_instance_t *vf, char* args){
|
|||
vf->put_image=put_image;
|
||||
vf->priv=malloc(sizeof(struct vf_priv_s));
|
||||
vf->priv->limit=24; // should be option
|
||||
if(args) vf->priv->limit=atoi(args);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue