lavc/qsvdec: Add vvc_mp4toannexb bsf for QSV VVC decoder

Fix error:
$ ffmpeg -hwaccel qsv -i input.mp4 -f null -
..
[vvc_qsv @ 0000026890D966C0] Error decoding stream header: unknown error (-1)
[vvc_qsv @ 0000026890D966C0] Error decoding header

Signed-off-by: Fei Wang <fei.w.wang@intel.com>
release/7.1
Fei Wang 4 months ago committed by Haihao Xiang
parent a797317ab1
commit be7ab63552
  1. 2
      configure
  2. 2
      libavcodec/qsvdec.c

2
configure vendored

@ -3427,7 +3427,7 @@ vp9_vaapi_encoder_select="vaapi_encode"
vp9_qsv_encoder_deps="libmfx MFX_CODEC_VP9"
vp9_qsv_encoder_select="qsvenc"
vp9_v4l2m2m_decoder_deps="v4l2_m2m vp9_v4l2_m2m"
vvc_qsv_decoder_select="qsvdec"
vvc_qsv_decoder_select="vvc_mp4toannexb_bsf qsvdec"
# parsers
aac_parser_select="adts_header mpeg4audio"

@ -1303,5 +1303,5 @@ DEFINE_QSV_DECODER(av1, AV1, NULL)
#endif
#if CONFIG_VVC_QSV_DECODER
DEFINE_QSV_DECODER(vvc, VVC, NULL)
DEFINE_QSV_DECODER(vvc, VVC, "vvc_mp4toannexb")
#endif

Loading…
Cancel
Save