Anton Baskanov : winegstreamer: Expose 15/16-bit RGB formats.

Alexandre Julliard julliard at winehq.org
Wed Oct 7 16:04:09 CDT 2020


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

Author: Anton Baskanov <baskanov at gmail.com>
Date:   Wed Oct  7 01:04:59 2020 +0700

winegstreamer: Expose 15/16-bit RGB formats.

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

---

 dlls/winegstreamer/gstdemux.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 90a129f29a..6279c2c28c 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -1722,6 +1722,8 @@ static HRESULT gstdecoder_source_get_media_type(struct gstdemux_source *pin,
         GST_VIDEO_FORMAT_BGRA,
         GST_VIDEO_FORMAT_BGRx,
         GST_VIDEO_FORMAT_BGR,
+        GST_VIDEO_FORMAT_RGB16,
+        GST_VIDEO_FORMAT_RGB15,
     };
 
     assert(caps); /* We shouldn't be able to get here if caps haven't been set. */




More information about the wine-cvs mailing list