Chromium Code Reviews
DescriptionMerge M52: "Immediately 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
Review-Url: https://codereview.chromium.org/2074983002
Cr-Commit-Position: refs/heads/master@{#400338}
(cherry picked from commit eec6e9013286349a66ace2ec0858c99e96132f46)
Committed: https://chromium.googlesource.com/chromium/src/+/4424a3253f9b1a13799b53e60eb346b3e06c4104
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||