commit | 475da7ef08c05a482ced8d318832cf5aa1141aff | [log] [tgz] |
---|---|---|
author | Ronghua Wu <ronghuawu@google.com> | Fri Aug 08 15:24:55 2014 -0700 |
committer | Lajos Molnar <lajos@google.com> | Fri Aug 15 20:28:35 2014 +0000 |
tree | 3c4e98f28f30294b9aa19278ad5c292610647075 | |
parent | 426c719a5f3b4d88480eb35a7b0b373f672ea3cb [diff] |
stagefright: Fix race condition between MediaCodec and SoftwareRenderer * Set the buffer's format info when it's returned from OMX component. * Move frame format meta from SoftwareRenderer's ctor to the render call. I.e. each frame sent to the renderer carries the format info. * Reset renderer with the new format instead of re-creating SoftwareRenderer when incoming frame's format is changed. Bug: 13842676 Change-Id: Ibab46f109200bcbdeab13a4cc1bcd0870f2a99fb