From fa033ac38bcf8974af37dd2c415871bad4d0be97 Mon Sep 17 00:00:00 2001 From: Christophe Massiot Date: Thu, 20 Jan 2000 11:16:13 +0000 Subject: [PATCH] Correction de l'YUV en 15 bpp. --- src/video_output/video_yuv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_output/video_yuv.c b/src/video_output/video_yuv.c index fd57966518..9664ba7f5d 100644 --- a/src/video_output/video_yuv.c +++ b/src/video_output/video_yuv.c @@ -411,7 +411,7 @@ static void SetTables( vout_thread_t *p_vout ) switch( p_vout->i_screen_depth ) { case 15: - MaskToShift( &i_red_right, &i_red_left, 0xf800 ); + MaskToShift( &i_red_right, &i_red_left, 0x7c00 ); MaskToShift( &i_green_right, &i_green_left, 0x03e0 ); MaskToShift( &i_blue_right, &i_blue_left, 0x001f ); break;