commit | c65c0a5a022ef4bfc65cf3ad163792f5047061b3 | [log] [tgz] |
---|---|---|
author | Ram Mohan <ram.mohan@ittiam.com> | Fri Feb 07 16:35:04 2020 +0530 |
committer | Ram Mohan <ram.mohan@ittiam.com> | Fri Feb 14 10:10:09 2020 +0530 |
tree | 0c7a5951a48106d03e2963ccffc1b4f956ad78c5 | |
parent | 096e0b80a9a8756a4201aa9a394be5388b7329a2 [diff] |
CodecAsyncHandler: Fix race issue in async mode Modified await on input/output queues. In earlier design, in a scenario, async handler thread waits on input/output queues even if the queue is not empty. This is because of lock-release-relock between isEmpty() and mCondition.await(). Bug: 149031058 Test: atest android.mediav2.cts Change-Id: Iee592e94704c4011d2cd336be5f5fd3a3a03fb78