Chromium Code Reviews
DescriptionAlways post buffering state updates since they may change sink state.
The lock must never be held when OnTimeStateChanged() is calling into
the VideoRendererSink or we can deadlock the compositor thread.
With video-only playback occurs a buffering state change for underflow
would immediately invoke OnTimeStateChanged(false) which would try to
stop the VideoRendererSink under lock.
BUG=496466
TEST=video only playback doesn't deadlock.
Committed: https://crrev.com/9d8a53f3bf01aed28abbd1f9a713a25362c0d158
Cr-Commit-Position: refs/heads/master@{#332772}
Patch Set 1 #
Messages
Total messages: 9 (2 generated)
|
|||||||||||||||||||