commit | 193fa5c8ba64b835932a0b3f6b080bdad8b2ff87 | [log] [tgz] |
---|---|---|
author | Marco Paniconi <marpan@google.com> | Thu Jan 09 14:17:00 2014 -0800 |
committer | Marco Paniconi <marpan@google.com> | Thu Jan 09 14:33:40 2014 -0800 |
tree | 1809f1414807cbff670efb8fe8f88851caf09b3f | |
parent | c8e8d3a461c3a75e768bd8b380e4439de7acb290 [diff] |
Keep buffer clipped to maximum in change_config. Under a configuration change, where the bitrate suddenly decreases, the buffer level may be larger than maximum allowed (for that first frame to be encoded after change_config). This change keeps it clipped to its maximum level. Change-Id: I4d0b5b3d1fd8148600dd39e02bd630c9464baba5