| Index: media/filters/gpu_video_decoder.cc
|
| diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc
|
| index 3679a5acc00070115b260953644e79979462014c..8cf51ad101a76c7a78aaec78ca20b916dd43b8a5 100644
|
| --- a/media/filters/gpu_video_decoder.cc
|
| +++ b/media/filters/gpu_video_decoder.cc
|
| @@ -480,9 +480,9 @@ bool GpuVideoDecoder::NeedsBitstreamConversion() const {
|
| return needs_bitstream_conversion_;
|
| }
|
|
|
| -bool GpuVideoDecoder::HasOutputFrameAvailable() const {
|
| +bool GpuVideoDecoder::CanReadWithoutStalling() const {
|
| DCHECK(gvd_loop_proxy_->BelongsToCurrentThread());
|
| - return available_pictures_ > 0;
|
| + return available_pictures_ > 0 || !ready_video_frames_.empty();
|
| }
|
|
|
| void GpuVideoDecoder::NotifyInitializeDone() {
|
|
|