Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: media/filters/gpu_video_decoder.cc

Issue 10408043: Fix a deadlock in the GPU Video decoding code in the renderer which would occur when the renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/gpu_video_decoder.cc
===================================================================
--- media/filters/gpu_video_decoder.cc (revision 137757)
+++ media/filters/gpu_video_decoder.cc (working copy)
@@ -477,8 +477,9 @@
if (demuxer_read_in_progress_)
return;
demuxer_read_in_progress_ = true;
- demuxer_stream_->Read(base::Bind(
- &GpuVideoDecoder::RequestBufferDecode, this));
+ gvd_loop_proxy_->PostTask(FROM_HERE, base::Bind(
+ &DemuxerStream::Read, demuxer_stream_.get(),
+ base::Bind(&GpuVideoDecoder::RequestBufferDecode, this)));
}
void GpuVideoDecoder::NotifyFlushDone() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698