DescriptionMove underflow threshold limits out of the video renderer.
The threshold logic is incorrect when there's no audio track, which
the VideoRendererImpl has no knowledge of, so this logic needs to
live in the RendererImpl.
As a consequence of this, the underflow threshold is now based on
wall clock time instead of media time; which means non-realtime
playback will allow more or less media time to elapse before
underflow occurs.
Exposes a new command line flag --video-underflow-threshold-ms to
allow for experiments varying the threshold for YouTube.
BUG=423801, 470940
TEST=new unittests.
Committed: https://crrev.com/c11e7bb244652731cc67c023bd2cf39e52df3544
Cr-Commit-Position: refs/heads/master@{#323599}
Patch Set 1 : Add flag. #
Total comments: 13
Patch Set 2 : Wait for frame duration. #
Messages
Total messages: 21 (5 generated)
|