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

Skip to content
Commit 6378937c authored by Wonsik Kim's avatar Wonsik Kim
Browse files

codec2: fix SimpleC2Component race condition

- Fix race condition around stop/reset/release.
- Call onFlush at processing thread.

Bug: 74073134
Test: adb shell setprop debug.stagefright.ccodec yes
Test: adb shell setprop debug.stagefright.omx_default_rank 1000
Test: adb shell killall mediaserver
Test: atest android.media.cts.MediaCodecTest
Change-Id: I74c2d84c35842907c1f7f6e862d37b748409a73f
(cherry picked from commit e3534403)
parent 6fd4657e
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