diff options
author | Wenbin Chen <wenbin.chen-at-intel.com@ffmpeg.org> | 2022-02-11 10:37:36 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2022-02-22 14:48:21 +0800 |
commit | b1c26ce9fe4da93e4ca4108a32f478ded7cfd428 (patch) | |
tree | 90d460ce0520e298aa4f162dae41f1bef87a90f8 /libavutil | |
parent | 9e2deba9a9a715eb5deca7fd8282df88ecdd5059 (diff) | |
download | ffmpeg-b1c26ce9fe4da93e4ca4108a32f478ded7cfd428.tar.gz |
libavcodec/qsvdec: use the parameter from decodeHeader to configure surface
MSDK recognizes both yuv420p10 and yuv420p9 as MFX_FOURCC_P010, but
parameters are different. When decode yuv420p9 video, ffmpeg-qsv will use
yuv420p10le to configure surface which is different with param from
DecoderHeader and this will lead to error. Now change it use
param from decoderHeader to configure surface.
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavutil')
0 files changed, 0 insertions, 0 deletions