• Wenbin Chen's avatar
    libavutil/hwcontext_qsv: fix a bug for mapping qsv frame to vaapi · f2891fbd
    Wenbin Chen authored
    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: 's avatarWenbin Chen <wenbin.chen@intel.com>
    f2891fbd
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...