diff options
author | Zhong Li <zhong.li@intel.com> | 2019-05-31 08:44:48 +0800 |
---|---|---|
committer | Zhong Li <zhong.li@intel.com> | 2019-06-10 13:48:41 +0800 |
commit | e62f625163f8cde794ebe02bc228735b4e65c772 (patch) | |
tree | d59c658b8c211abc3a42b995cd4a2c6db833789d /libavfilter/qsvvpp.c | |
parent | ef56c28b2596eea233860d8c90f054e76da44758 (diff) | |
download | ffmpeg-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.c | 1 |
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; |