commit | 4a5c009bc2389304cf078c270bceb656479367d2 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Wed Jul 03 16:56:11 2013 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Mon Jul 08 13:12:10 2013 -0700 |
tree | 08608bdb6a061244b8cb7405a11f3bde8ff12ae7 | |
parent | eced745af7d2d27a8c45e04eb071d4fb30cd3e48 [diff] |
Camera2/3: As a fallback, unilaterally free old recording buffers When starting a recording session, check for and clear out recording buffers still owned by stagefright from a previous recording session, if any. There should never be any, but in case they are due to a bug elsewhere in the system, clearing out the buffers makes recovery possible. Bug: 9591080 Change-Id: I3a2a1256860bd174381cd525948419f985c9b415