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.
0001-avcodec-qsvenc-clear-mfx-frame-type-in-submit-frame.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".