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

Unified Diff: remoting/host/video_scheduler.cc

Issue 11569042: Post StopOnEncodeThread to the correct thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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: remoting/host/video_scheduler.cc
diff --git a/remoting/host/video_scheduler.cc b/remoting/host/video_scheduler.cc
index c2a797e111f80f0070d61d44e0a66419ced4f3ad..e937bd4812ddb63b366830c67edf6ab3eb920913 100644
--- a/remoting/host/video_scheduler.cc
+++ b/remoting/host/video_scheduler.cc
@@ -180,7 +180,7 @@ void VideoScheduler::StopOnCaptureThread(const base::Closure& done_task) {
// otherwise tearing down |capturer_| will crash it. See crbug.com/163641.
// TODO(wez): Make it safe to tear down capturer while buffers remain, and
// remove this work-around.
- capture_task_runner_->PostTask(FROM_HERE,
+ encode_task_runner_->PostTask(FROM_HERE,
base::Bind(&VideoScheduler::StopOnEncodeThread, this, done_task));
}
« 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