From 199f876fad450b032b64f6a3f920297efbc2a3d6 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 5 Oct 2002 04:56:32 +0000 Subject: [PATCH] Fixed YUV overlay code for Quicktime 6 --- src/video/quartz/SDL_QuartzVideo.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/quartz/SDL_QuartzVideo.m b/src/video/quartz/SDL_QuartzVideo.m index eddb10aa3..942ef2d2f 100644 --- a/src/video/quartz/SDL_QuartzVideo.m +++ b/src/video/quartz/SDL_QuartzVideo.m @@ -1472,7 +1472,7 @@ static SDL_Overlay* QZ_CreateYUVOverlay (_THIS, int width, int height, (**yuv_idh).frameCount = 1; (**yuv_idh).clutID = -1; (**yuv_idh).dataSize = 0; - (**yuv_idh).depth = 12; + (**yuv_idh).depth = 24; HUnlock ((Handle)yuv_idh);