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

Skip to content
Commit 67d0d2e8 authored by zhenxingwang's avatar zhenxingwang Committed by zhenxingwang
Browse files

When OggWriter stops, stop codec source first before pthread_join to prevent stall

When StagefrightRecorder changes from paused to stopped,
pthread_join before mSource->stop get blocked because MediaCodecSource is paused.

Stop codec source first just as AMRWriter/AACWriter have done it.

Bug: 260336332
Test: follow bug repro steps
Change-Id: I42ab1395a7c3ce22d373253dd74197334cad3a1a
parent e25b43e7
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