From eaaaabf6c93321cdb78bf61dc383cf515ec12e07 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Fri, 30 Sep 2016 17:27:09 +0200 Subject: [PATCH] hwcontext_vaapi: Enable P010 support This is required for 10-bit surfaces. --- libavutil/hwcontext_vaapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c index cd7d43eb8d..9617979d7c 100644 --- a/libavutil/hwcontext_vaapi.c +++ b/libavutil/hwcontext_vaapi.c @@ -109,7 +109,7 @@ static struct { MAP(YUY2, YUV422, YUYV422), MAP(Y800, YUV400, GRAY8), #ifdef VA_FOURCC_P010 - //MAP(P010, YUV420_10BPP, P010), + MAP(P010, YUV420_10BPP, P010), #endif MAP(BGRA, RGB32, BGRA), //MAP(BGRX, RGB32, BGR0),