• paulwilkins's avatar
    Prevent parameters that can cause invalid ARF groups. · b814e2d8
    paulwilkins authored
    Having a very low "lag_in_frames" value could cause the encoder to create
    incorrect / corrupt ARF groups including displayed frames that update the
    ARF buffer and false overlay frames that are coded at low rate but are not
    actually overlays of a real ARF frame.
    
    This is linked to a reported unit test "slow down" where the chosen parameters
    (lag of 3 frames) gave rise to such "broken" ARF group(s).
    
    See also BUG=webm:1454
    
    Change-Id: If52d0236243ed5552537d1ea9ed3fed8c867232c
    b814e2d8