[FFmpeg-devel] [PATCH] avcodec/qsvenc: clear mfx frame type in submit_frame
Zivkovic, Milos
zivkovic at teralogics.com
Sat Oct 10 20:25:19 EEST 2020
Hello,
I've attached a patch that clears the mfxEncodeCtrl::FrameType field.
Since QSVFrames are reused, this field can affect not only the frame
it was supposed to affect, but also the subsequent ones.
It would be enough to force a keyframe only once and that QSVFrame
will have the FrameType field set until the end of times.
Once that QSVFrame gets reused the output frame will also be a
keyframe, even though that might not have been requested.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-qsvenc-clear-mfx-frame-type-in-submit-frame.patch
Type: application/octet-stream
Size: 776 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201010/df14b7bb/attachment.obj>
More information about the ffmpeg-devel
mailing list