Index: content/common/gpu/media/android_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/android_video_decode_accelerator.cc b/content/common/gpu/media/android_video_decode_accelerator.cc |
index 0f23cefc87289e7e34c7f238a9af54433d37ca9f..70c8f7fec8efec9cdf66f0c144128b83543113c5 100644 |
--- a/content/common/gpu/media/android_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/android_video_decode_accelerator.cc |
@@ -502,10 +502,10 @@ void AndroidVideoDecodeAccelerator::SetCdm(int cdm_id) { |
void AndroidVideoDecodeAccelerator::DoIOTask(bool start_timer) { |
DCHECK(thread_checker_.CalledOnValidThread()); |
TRACE_EVENT0("media", "AVDA::DoIOTask"); |
- if (state_ == ERROR || state_ == WAITING_FOR_CODEC) { |
+ if (state_ == ERROR || state_ == WAITING_FOR_CODEC) |
return; |
- } |
+ strategy_->MaybeRenderEarly(); |
bool did_work = QueueInput(); |
while (DequeueOutput()) |
did_work = true; |