Chromium Code Reviews
DescriptionImmediately reset for vp8 when there's nothing to flush.
If we finish playback of a clip up to end-of-stream, the codec is
already Flush()'d so when we later recieve a Reset(), if we try
to start another Flush() there is no event-pump driving the flush
and we'll hang forever waiting for the flush that never was.
The fix is to instead only flush when there are actually buffers in
the decoder. If there are no buffers, there is nothing to flush.
BUG=619967
TEST=looping video plays
Committed: https://crrev.com/eec6e9013286349a66ace2ec0858c99e96132f46
Cr-Commit-Position: refs/heads/master@{#400338}
Patch Set 1 #
Total comments: 3
Messages
Total messages: 11 (3 generated)
|
|||||||||||||||||||