[FFmpeg-devel] [PATCH] libavcodec/qsvenc: Use parameter from AVCodecContext to reset qsv codec

Anton Khirnov anton at khirnov.net
Thu Jul 7 11:42:35 EEST 2022


Quoting Wenbin Chen (2022-07-06 11:14:40)
> Using parameter from AVCodecContext to reset qsv codec is more suitable
> for MFXVideoENCODE_Reset()'s usage. Per-frame metadata is more suitable
> for the usage of mfxEncodeCtrl being passed to
> MFXVideoENCODE_EncodeFrameAsync(). Now change it to use the value
> from AVCodecContext.
> 
> Signed-off-by: Wenbin Chen <wenbin.chen at intel.com>
> ---
>  doc/encoders.texi   |  5 ++---
>  libavcodec/qsvenc.c | 26 ++++++++------------------
>  2 files changed, 10 insertions(+), 21 deletions(-)

Thank you, looks better now.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list