aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/qsvvpp.c
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2019-05-31 08:44:48 +0800
committerZhong Li <zhong.li@intel.com>2019-06-10 13:48:41 +0800
commite62f625163f8cde794ebe02bc228735b4e65c772 (patch)
treed59c658b8c211abc3a42b995cd4a2c6db833789d /libavfilter/qsvvpp.c
parentef56c28b2596eea233860d8c90f054e76da44758 (diff)
downloadffmpeg-e62f625163f8cde794ebe02bc228735b4e65c772.tar.gz
lavf/qsvvpp: add P010 output format support
Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'libavfilter/qsvvpp.c')
-rw-r--r--libavfilter/qsvvpp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/qsvvpp.c b/libavfilter/qsvvpp.c
index b5ef74efa4..8d5ff2eb65 100644
--- a/libavfilter/qsvvpp.c
+++ b/libavfilter/qsvvpp.c
@@ -153,6 +153,7 @@ static int map_frame_to_surface(AVFrame *frame, mfxFrameSurface1 *surface)
{
switch (frame->format) {
case AV_PIX_FMT_NV12:
+ case AV_PIX_FMT_P010:
surface->Data.Y = frame->data[0];
surface->Data.UV = frame->data[1];
break;