[PATCH 2/2] winegstreamer: Set the bit depth for UYVY video.

Zebediah Figura z.figura12 at gmail.com
Fri Mar 27 00:54:29 CDT 2020


Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 dlls/winegstreamer/gstdemux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 1dedad51351..2d9efe8eada 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -227,6 +227,7 @@ static gboolean amt_from_gst_video_info(const GstVideoInfo *info, AM_MEDIA_TYPE
                 bih->biBitCount = 12; break;
             case mmioFOURCC('Y','U','Y','2'):
             case mmioFOURCC('Y','V','Y','U'):
+            case mmioFOURCC('U','Y','V','Y'):
                 bih->biBitCount = 16; break;
         }
         bih->biCompression = amt->subtype.Data1;
-- 
2.25.1




More information about the wine-devel mailing list