DescriptionExtract media::Clock::IsPlaying() into media::Pipeline::ClockState enum.
Instead of using both Clock::IsPlaying() and waiting_for_clock_update_,
use a three-state representation so it's easier to determine the actual
state of both audio rendering and the clock when Pipeline is in its
playing state. Introduce some helpers to deal with transitioning between states.
This is needed for the upcoming BufferingState changes as Pipeline now
handles underflow/preroll.
BUG=370634
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272301
Patch Set 1 #Patch Set 2 : fixes #
Total comments: 5
Patch Set 3 : fixes + rebase #
Messages
Total messages: 9 (0 generated)
|