mirror of https://github.com/mpv-player/mpv
flipped rgb fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5707 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
60cf7062d7
commit
7facff64ef
|
@ -132,9 +132,10 @@ static int query_format(struct vf_instance_s* vf, unsigned int fmt){
|
|||
return 3; // no conversion
|
||||
case IMGFMT_YUY2:
|
||||
case IMGFMT_UYVY:
|
||||
return 1; // conversion
|
||||
case IMGFMT_RGB24:
|
||||
case IMGFMT_BGR24:
|
||||
return 1; // conversion
|
||||
return 1 | VFCAP_FLIPPED; // conversion+flipped
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue