Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f158ff01 authored by Revathi Uddaraju's avatar Revathi Uddaraju Committed by Dongwon Kang
Browse files

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
parent 0435a4dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment