commit | 0d3ba722f4116f909daf750b3c01a2854532d108 | [log] [tgz] |
---|---|---|
author | Kevin Rocard <krocard@google.com> | Tue Jun 30 15:43:55 2020 +0000 |
committer | Kevin Rocard <krocard@google.com> | Thu Jul 02 11:30:28 2020 +0100 |
tree | 525ac58b87db98e6df1345dde3eb226e48a9a7bd | |
parent | c0517fe81e4ae6d8df18a1e1804fade1bd08cbf4 [diff] |
Use main looper for onFrameRenderListener in Media codec CTS Previously the current looper was implicitly used, but it does not seem to exist in some context. Instead, use the main looper and mark the primitives variables concurrently accessed as volatile. The bug was introduced by: I02c7f44365bcbf628e14e093638981ca14fd688e. Bug: 160105641 Test: cts -m CtsMediaTestCases -t android.media.cts.DecoderTest#testTunneledVideoFlush Change-Id: Ib6be4180ff7cc879ba1f1c32a32ce2b96e063db0