[vlc-devel] [PATCH 2/5] avcodec: map VLC_CODEC_P010 to AV_PIX_FMT_P010

Steve Lhomme robux4 at videolabs.io
Wed Jul 27 17:46:23 CEST 2016


--
replaces https://patches.videolan.org/patch/13946/
---
 modules/codec/avcodec/chroma.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/codec/avcodec/chroma.c b/modules/codec/avcodec/chroma.c
index 52151e9..eb68d1a 100644
--- a/modules/codec/avcodec/chroma.c
+++ b/modules/codec/avcodec/chroma.c
@@ -90,6 +90,9 @@ static const struct
     {VLC_CODEC_I420_12L, AV_PIX_FMT_YUV420P12LE, 0, 0, 0 },
     {VLC_CODEC_I420_12B, AV_PIX_FMT_YUV420P12BE, 0, 0, 0 },
 #endif
+#ifdef AV_PIX_FMT_P010
+    {VLC_CODEC_P010, AV_PIX_FMT_P010, 0, 0, 0 },
+#endif
 
     {VLC_CODEC_I422_9L, AV_PIX_FMT_YUV422P9LE, 0, 0, 0 },
     {VLC_CODEC_I422_9B, AV_PIX_FMT_YUV422P9BE, 0, 0, 0 },
-- 
2.8.2



More information about the vlc-devel mailing list