mirror of https://github.com/mpv-player/mpv
added new formats: 444p,422p, 411p
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6873 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
26398539cb
commit
ec6748481f
|
@ -28,6 +28,9 @@ static int open(vf_instance_t *vf, char* args){
|
|||
vf->priv=malloc(sizeof(struct vf_priv_s));
|
||||
|
||||
if(args){
|
||||
if(!strcasecmp(args,"444p")) vf->priv->fmt=IMGFMT_444P; else
|
||||
if(!strcasecmp(args,"422p")) vf->priv->fmt=IMGFMT_422P; else
|
||||
if(!strcasecmp(args,"411p")) vf->priv->fmt=IMGFMT_411P; else
|
||||
if(!strcasecmp(args,"yuy2")) vf->priv->fmt=IMGFMT_YUY2; else
|
||||
if(!strcasecmp(args,"yv12")) vf->priv->fmt=IMGFMT_YV12; else
|
||||
if(!strcasecmp(args,"i420")) vf->priv->fmt=IMGFMT_I420; else
|
||||
|
|
Loading…
Reference in New Issue