From 7c496e41eeeac345c90cb8a9bd520c27f6a735e7 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 14 May 2004 21:08:53 +0000 Subject: 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 --- libmpcodecs/vf_scale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libmpcodecs') diff --git a/libmpcodecs/vf_scale.c b/libmpcodecs/vf_scale.c index a7a4178bc2..c7ee7f2c05 100644 --- a/libmpcodecs/vf_scale.c +++ b/libmpcodecs/vf_scale.c @@ -55,11 +55,9 @@ static unsigned int outfmt_list[]={ IMGFMT_YVU9, IMGFMT_IF09, IMGFMT_411P, - IMGFMT_Y800, - IMGFMT_Y8, IMGFMT_YUY2, IMGFMT_UYVY, -// RGB: +// RGB and grayscale (Y8 and Y800): IMGFMT_BGR32, IMGFMT_RGB32, IMGFMT_BGR24, @@ -68,6 +66,8 @@ static unsigned int outfmt_list[]={ IMGFMT_RGB16, IMGFMT_BGR15, IMGFMT_RGB15, + IMGFMT_Y800, + IMGFMT_Y8, IMGFMT_BGR8, IMGFMT_RGB8, IMGFMT_BGR4, -- cgit v1.2.3