On Thu, Nov 16, 2023 at 12:06:56PM +0800, Zhongwei Wang via ffmpeg-devel wrote: > The key_frame currently doesn't set extra header into frames when using qsv > encoders. > > Signed-off-by: reito > --- > libavcodec/qsvenc.c | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c > index a0144b0760..2bd85a2f91 100644 > --- a/libavcodec/qsvenc.c > +++ b/libavcodec/qsvenc.c > @@ -2365,6 +2365,28 @@ static int update_pic_timing_sei(AVCodecContext > *avctx, QSVEncContext *q) > return updated; > } > > +static int set_sps_pps_encode_ctrl(AVCodecContext *avctx, const AVFrame > *frame, error: corrupt patch at line 10 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Avoid a single point of failure, be that a person or equipment.