• Adrian Grange's avatar
    Disable update of last_show_frame for existing frame · 64e25974
    Adrian Grange authored
    When showing a previously decoded frame, i.e. when
    show_existing_frame=1, the update of the
    last_show_frame flag must be disabled.
    
    This is to ensure that the last_show_frame flag
    reflects the state of the flag for the immediately
    previously decoded frame rather then the value that
    was forced to ensure that a previously decoded frame
    would be displayed.
    
    This patch also adds a test vector to verify that the
    display_existing_frame flag works as expected. Code
    for generating the test vector can be found in this
    patch:
    https://gerrit.chromium.org/gerrit/#/c/68581/
    
    (Bug originally reported by Alexander Voronov
    <ru.xalba@gmail.com>).
    
    Change-Id: I731d288fba02088959f7fcc87707137fffc6acf5
    64e25974