[vlc-commits] dxgi_fmt: map DXGI_FORMAT_P016 to VLC_CODEC_P016

Steve Lhomme git at videolan.org
Thu Sep 12 14:25:48 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Sep 12 14:25:41 2019 +0200| [7cb8f766c60d420d93f44b1e3a77ea31d9225d5d] | committer: Steve Lhomme

dxgi_fmt: map DXGI_FORMAT_P016 to VLC_CODEC_P016

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7cb8f766c60d420d93f44b1e3a77ea31d9225d5d
---

 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 b121c2dc4a..345c370a8e 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -51,7 +51,7 @@ static const dxgi_format_t dxgi_formats[] = {
     { "B5G6R5",      DXGI_FORMAT_B5G6R5_UNORM,        VLC_CODEC_RGB16    },
     { "Y416",        DXGI_FORMAT_Y416,                0                  },
     { "P010",        DXGI_FORMAT_P010,                VLC_CODEC_P010     },
-    { "P016",        DXGI_FORMAT_P016,                0                  },
+    { "P016",        DXGI_FORMAT_P016,                VLC_CODEC_P016     },
     { "Y210",        DXGI_FORMAT_Y210,                VLC_CODEC_YUYV     }, /* AV_PIX_FMT_YUYV422 */
     { "Y410",        DXGI_FORMAT_Y410,                0                  },
     { "NV11",        DXGI_FORMAT_NV11,                0                  },



More information about the vlc-commits mailing list