Index: media/filters/gpu_video_decoder.cc |
diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc |
index b74ba5ba82e5c8a2563b6b7f84459d7402b24c55..a2fc6626616c837f1444bfa95283945d84e15cf3 100644 |
--- a/media/filters/gpu_video_decoder.cc |
+++ b/media/filters/gpu_video_decoder.cc |
@@ -87,8 +87,6 @@ void GpuVideoDecoder::Reset(const base::Closure& closure) { |
return; |
} |
- // VideoRendererBase::Flush() can't complete while it has a pending read to |
- // us, so we fulfill such a read here. |
xhwang
2013/04/18 03:18:36
This is VideoDecoder API implementation and we don
|
if (!pending_read_cb_.is_null()) |
EnqueueFrameAndTriggerFrameDelivery(VideoFrame::CreateEmptyFrame()); |