mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-19 05:49:09 +02:00
lavc/qsvenc: ignore video signal info buffer for VP9
The SDK doesn't support this type of buffer for vp9 encoding Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
This commit is contained in:
parent
c953baa084
commit
ea56f7d5e7
@ -970,7 +970,7 @@ static int init_video_param(AVCodecContext *avctx, QSVEncContext *q)
|
||||
q->extvsi.MatrixCoefficients = avctx->colorspace;
|
||||
}
|
||||
|
||||
if (q->extvsi.VideoFullRange || q->extvsi.ColourDescriptionPresent) {
|
||||
if ((avctx->codec_id != AV_CODEC_ID_VP9) && (q->extvsi.VideoFullRange || q->extvsi.ColourDescriptionPresent)) {
|
||||
q->extvsi.Header.BufferId = MFX_EXTBUFF_VIDEO_SIGNAL_INFO;
|
||||
q->extvsi.Header.BufferSz = sizeof(q->extvsi);
|
||||
q->extparam_internal[q->nb_extparam_internal++] = (mfxExtBuffer *)&q->extvsi;
|
||||
|
Loading…
x
Reference in New Issue
Block a user