lavc/qsvenc: remove VC1 profiles
authorHaihao Xiang <haihao.xiang@intel.com>
Mon, 13 Dec 2021 06:50:34 +0000 (14:50 +0800)
committerZhong Li <zhongli_dev@126.com>
Sun, 19 Dec 2021 14:13:58 +0000 (22:13 +0800)
commit3857ecbe70e81cb6ad7a7f155c311e8522b93b3e
tree2f616a5e04bfc40c12b590343ccd700da5fb05fd
parent98f87c3d2920c14985de5ac8b7c698a20b03468f
lavc/qsvenc: remove VC1 profiles

The SDK doesn't support VC1 encoding. In addition, both
MFX_PROFILE_VC1_SIMPLE and MFX_PROFILE_HEVC_MAIN are 1 in the SDK, HEVC
main profile is recognized as simple profile in the verbose output if
don't remove VC1 profiles.

$ ffmpeg -v verbose -qsv_device /dev/dri/renderD129 -f lavfi -i
yuvtestsrc -c:v hevc_qsv -f null -

[hevc_qsv @ 0x55bdf7eb4eb0] profile: simple; level: 21

Signed-off-by: Zhong Li <zhongli_dev@126.com>
libavcodec/qsvenc.c