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

Skip to content
Commit 82e78bd3 authored by Gopalakrishnan Nallasamy's avatar Gopalakrishnan Nallasamy
Browse files

WebmWriter:set mResumed=false in pause()

WebmFrameThread.cpp does not set the resumed state as false in pause() function.
Hence when multiple pause/start APIs are called, both the mPaused and mResumed
variables remain true. When read happens in paused state, since mResumed
is true, timestamp adjustment logic goes wrong causing an abort. So, set
mResumed=false in pause().

Bug: 146319756

Test: atest writerTest -- --enable-module-dynamic-download=true

Change-Id: I8ec246df4e1ff491c3ade6116696c53551fea11c
Merged-In: I8ec246df4e1ff491c3ade6116696c53551fea11c
(cherry picked from commit 36d77d7f)
parent 084b328e
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