commit | c48ddcfc9113215b35e79c08ed77afb8998bd919 | [log] [tgz] |
---|---|---|
author | Wonsik Kim <wonsik@google.com> | Mon Feb 11 16:16:57 2019 -0800 |
committer | Wonsik Kim <wonsik@google.com> | Tue Feb 12 16:39:12 2019 -0800 |
tree | 350e08797d7cb40d75a8432ec5390b01b2c19133 | |
parent | 0e2c6b80cbf498ce376cd356ea65d65ec570f335 [diff] |
CCodec: fix image data update handling Formats should not be written after it's shared with the client. When update is needed, duplicate the format to avoid race condition. Bug: 122987730 Test: run MediaMetadataRetrieverTest#testGetFramesAtIndex for 1000 times Test: atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small Change-Id: I6abb5526d8df1e57b70c96f5b32d132e4a5de389