[PATCH 3/5] quartz/vmr9: Remove support for 8-bit RGB from the VMR7.

Zebediah Figura z.figura12 at gmail.com
Mon Jun 22 17:56:05 CDT 2020


This was never correct; 8-bit RGB is always palettized.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/quartz/vmr9.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/quartz/vmr9.c b/dlls/quartz/vmr9.c
index b49b2b67dbb..318d825ac9e 100644
--- a/dlls/quartz/vmr9.c
+++ b/dlls/quartz/vmr9.c
@@ -419,7 +419,6 @@ static HRESULT allocate_surfaces(struct quartz_vmr *filter, const AM_MEDIA_TYPE
     {
         switch (filter->bmiheader.biBitCount)
         {
-            case 8: info.Format = D3DFMT_R3G3B2; break;
             case 15: info.Format = D3DFMT_X1R5G5B5; break;
             case 16: info.Format = D3DFMT_R5G6B5; break;
             case 24: info.Format = D3DFMT_R8G8B8; break;
-- 
2.27.0




More information about the wine-devel mailing list