DescriptionSet audible status to false if audio is stopped after prefetch.
We discovered an audio playing site that often triggers
the starvation condition during the playback. This introduces
a race between Pause , starvation detecton and the MediaDecoderCallback.
If starvation detection happens between Pause and the callback,
we will do Prefetch and then stop the flow of packets,
and won't update the audible status properly.
This fix sets the audible status to false in Pause()
and this avoids the issue.
BUG=474761
Committed: https://crrev.com/9bf805c15752621d68d562f2acfa3e71f98f5593
Cr-Commit-Position: refs/heads/master@{#327336}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Set audible status on Pause() instead #Messages
Total messages: 10 (2 generated)
|