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 69ed8f8223397df9b20c587d6dc0ad30b003ac75..55b1855a546d482fd89f87b95d6361c0d89e88ab 100644 |
--- a/content/common/gpu/media/android_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/android_video_decode_accelerator.cc |
@@ -504,10 +504,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; |