https://bugs.freedesktop.org/show_bug.cgi?id=98005
--- Comment #19 from Boyuan Zhang boyuan.zhang@amd.com --- (In reply to Boyuan Zhang from comment #18)
(In reply to Andy Furniss from comment #14)
but I am afraid the patches regress cbr so the out of order frames near I frames issue is back.
The "out of order" issue was caused by sending last p and next i frame together for dual instance encoding, which has already been solved and shouldn't affect by this patch. I suspect the i-frame has less QP (quality) than p-frame in cbr case (to meet constant bit-rate) where bit-rate is not high enough, as a result you might see low picture quality for each i-frame. Please confirm with high bitrate or using analyser to check the order.
If you still see the out-of-order issue, please share the clip and command.
Thanks
Nevermind, the cbr issue was reproduced and fixed. Please try the latest patch I just send.