]> granicus.if.org Git - libvpx/commit
fixed a bug of context overwritten by key frame recoding
authorYaowu Xu <yaowu@google.com>
Thu, 15 Mar 2012 00:29:39 +0000 (17:29 -0700)
committerYaowu Xu <yaowu@google.com>
Thu, 15 Mar 2012 00:29:39 +0000 (17:29 -0700)
commitea43ba4aee6b915f7309841c6e924c235d0723d3
treebc1d61c082aef870609d59d00d2333a94d452ded
parent03d5d6936893b8f12e870f07255b4388142fa559
fixed a bug of context overwritten by key frame recoding

The recoding loop save and restore frame coding context for recodes.
However in recoding of key frames, some of the coding context saved
was stale from last encoded inter frame. The save/restore sometimes
overwrites the re-inintialized coding context with saved context
from last frame, resulting in encoder/decoder mismatch

Change-Id: I354ae2f71074d142602d51d06544c05a2462caaf
vp8/encoder/ratectrl.c