The following patch removes the BRef produced by b-pyramid from the DPB at the next P-frame via MMCO. It produced a small SSIM improvement in limited tests. It also adds and option --strictdpb which removes the oldest reference frame during BREFs (via MMCO when needed) to always reserve an extra space in the dpb for delayed display time b-frames. This is only is active when refs are 4+ since there isnt any room to give when refs = 3.<br>

<br><br>