diff options
author | Wenbin Chen <wenbin.chen@intel.com> | 2021-09-13 14:22:22 +0800 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-09-23 22:59:11 -0300 |
commit | f2891fbdeddd9049ba03b600d6c93a1ab732df66 (patch) | |
tree | 621e28105c4a4d86f1509d341d905143390f6d03 /tests/ref/vsynth/vsynth3-ffvhuff444 | |
parent | a46e78d5b7177232406d6afe661fb532d3a2b7dd (diff) | |
download | ffmpeg-f2891fbdeddd9049ba03b600d6c93a1ab732df66.tar.gz |
libavutil/hwcontext_qsv: fix a bug for mapping qsv frame to vaapi
Command below failed.
ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128
-init_hw_device qsv=qs@va -hwaccel qsv -hwaccel_device qs
-filter_hw_device va -c:v h264_qsv
-i 1080P.264 -vf "hwmap,format=vaapi" -c:v h264_vaapi output.264
Cause: Assign pair->first directly to data[3] in vaapi frame.
pair->first is *VASurfaceID while data[3] in vaapi frame is
VASurfaceID. I fix this line of code. Now the command above works.
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Diffstat (limited to 'tests/ref/vsynth/vsynth3-ffvhuff444')
0 files changed, 0 insertions, 0 deletions