commit | f158ff01fc14328bae6b703daa839f3db4c33ef6 | [log] [tgz] |
---|---|---|
author | Revathi Uddaraju <revathiu@codeaurora.org> | Thu May 04 13:07:12 2017 +0800 |
committer | Dongwon Kang <dwkang@google.com> | Tue Feb 05 17:18:18 2019 -0800 |
tree | d0643959bbb077ee95fc8214817e24e087d26beb | |
parent | 0435a4dcb66366da53cf4544c941a40ed2b9c2bd [diff] |
libmedia: synchronize access to meta. Assignment of IMediaSource::mMetaData of type sp<T> in IMediaSource::getFormat() is not thread-safe and is found to be causing stability issues. Synchronize access to meta smart pointer to prevent potential race condition. Test: build Bug: 123082419 Change-Id: I8a94d82d69f35307e5fab8174d752a847f47a2f2