[vlc-devel] [PATCH 2/4] dxgi_fmt: map DXGI_FORMAT_R16G16B16A16_UNORM to RGBA64
Steve Lhomme
robux4 at videolabs.io
Tue Oct 31 13:51:40 CET 2017
---
modules/video_chroma/dxgi_fmt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_chroma/dxgi_fmt.c b/modules/video_chroma/dxgi_fmt.c
index 6423b7634c..17679f8153 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -60,7 +60,7 @@ static const dxgi_format_t dxgi_formats[] = {
{ "Y410", DXGI_FORMAT_Y410, 0 },
{ "NV11", DXGI_FORMAT_NV11, 0 },
{ "RGB10A2", DXGI_FORMAT_R10G10B10A2_UNORM, 0 },
- { "RGB16", DXGI_FORMAT_R16G16B16A16_UNORM, 0 },
+ { "RGB16", DXGI_FORMAT_R16G16B16A16_UNORM, VLC_CODEC_RGBA64 },
{ "RGB16_FLOAT", DXGI_FORMAT_R16G16B16A16_FLOAT, 0 },
{ "UNKNOWN", DXGI_FORMAT_UNKNOWN, 0 },
--
2.14.2
More information about the vlc-devel
mailing list