mirror of https://github.com/mpv-player/mpv
give Y8 and Y800 lower conversion priority to avoid grayscaled video
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12476 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0b32ba3535
commit
7c496e41ee
|
@ -55,11 +55,9 @@ static unsigned int outfmt_list[]={
|
||||||
IMGFMT_YVU9,
|
IMGFMT_YVU9,
|
||||||
IMGFMT_IF09,
|
IMGFMT_IF09,
|
||||||
IMGFMT_411P,
|
IMGFMT_411P,
|
||||||
IMGFMT_Y800,
|
|
||||||
IMGFMT_Y8,
|
|
||||||
IMGFMT_YUY2,
|
IMGFMT_YUY2,
|
||||||
IMGFMT_UYVY,
|
IMGFMT_UYVY,
|
||||||
// RGB:
|
// RGB and grayscale (Y8 and Y800):
|
||||||
IMGFMT_BGR32,
|
IMGFMT_BGR32,
|
||||||
IMGFMT_RGB32,
|
IMGFMT_RGB32,
|
||||||
IMGFMT_BGR24,
|
IMGFMT_BGR24,
|
||||||
|
@ -68,6 +66,8 @@ static unsigned int outfmt_list[]={
|
||||||
IMGFMT_RGB16,
|
IMGFMT_RGB16,
|
||||||
IMGFMT_BGR15,
|
IMGFMT_BGR15,
|
||||||
IMGFMT_RGB15,
|
IMGFMT_RGB15,
|
||||||
|
IMGFMT_Y800,
|
||||||
|
IMGFMT_Y8,
|
||||||
IMGFMT_BGR8,
|
IMGFMT_BGR8,
|
||||||
IMGFMT_RGB8,
|
IMGFMT_RGB8,
|
||||||
IMGFMT_BGR4,
|
IMGFMT_BGR4,
|
||||||
|
|
Loading…
Reference in New Issue