From 66e6c8a7b4e3ac926302529606bd3e323c28b20f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 6 Mar 2014 14:07:42 +0100 Subject: lavu: Add a pixel format for new VDA hwaccel The current hwaccel is broken and cannot be fixed in a compatible way. It will be deprecated and replaced with a new one. --- libavutil/pixdesc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavutil/pixdesc.c') diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 80c97b0096..ced3e46634 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -1494,6 +1494,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { }, .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE, }, + [AV_PIX_FMT_VDA] = { + .name = "vda", + .flags = AV_PIX_FMT_FLAG_HWACCEL, + }, }; FF_DISABLE_DEPRECATION_WARNINGS -- cgit v1.2.3