Zebediah Figura : quartz/vmr9: Remove support for 15-bit RGB from the VMR7.

Alexandre Julliard julliard at winehq.org
Tue Jun 23 15:52:51 CDT 2020


Module: wine
Branch: master
Commit: 530cb0da4daf0625508e4d5e0aeb1beb5f9beef1
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=530cb0da4daf0625508e4d5e0aeb1beb5f9beef1

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Mon Jun 22 17:56:06 2020 -0500

quartz/vmr9: Remove support for 15-bit RGB from the VMR7.

This was never correct; 15-bit RGB has a biBitCount of 16.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/quartz/vmr9.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/quartz/vmr9.c b/dlls/quartz/vmr9.c
index 318d825ac9..d290d02ce7 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 15: info.Format = D3DFMT_X1R5G5B5; break;
             case 16: info.Format = D3DFMT_R5G6B5; break;
             case 24: info.Format = D3DFMT_R8G8B8; break;
             case 32: info.Format = D3DFMT_X8R8G8B8; break;




More information about the wine-cvs mailing list