[vlc-commits] dxgi_fmt: fix DXGI_FORMAT_AYUV mapping
Steve Lhomme
git at videolan.org
Tue Oct 15 08:58:46 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Oct 15 08:17:59 2019 +0200| [12baa63fe8f977c0d2f08df7578195b17954339a] | committer: Steve Lhomme
dxgi_fmt: fix DXGI_FORMAT_AYUV mapping
It's not *planar* YUVA but *packet* AYUV.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=12baa63fe8f977c0d2f08df7578195b17954339a
---
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 345c370a8e..0fe22a0052 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -43,7 +43,7 @@ static const dxgi_format_t dxgi_formats[] = {
{ "BGRX", DXGI_FORMAT_B8G8R8X8_UNORM, VLC_CODEC_RGB32 },
{ "BGRA", DXGI_FORMAT_B8G8R8A8_UNORM, VLC_CODEC_BGRA },
{ "BGRA_SRGB", DXGI_FORMAT_B8G8R8A8_UNORM_SRGB, VLC_CODEC_BGRA },
- { "AYUV", DXGI_FORMAT_AYUV, VLC_CODEC_YUVA },
+ { "AYUV", DXGI_FORMAT_AYUV, VLC_CODEC_VUYA },
{ "YUY2", DXGI_FORMAT_YUY2, VLC_CODEC_YUYV },
{ "AI44", DXGI_FORMAT_AI44, 0 },
{ "P8", DXGI_FORMAT_P8, 0 },
More information about the vlc-commits
mailing list