diff options
author | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-16 00:35:17 +0000 |
---|---|---|
committer | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-16 00:35:17 +0000 |
commit | f303c67ca9ffd3b4ac27071db783b2419e89fb8d (patch) | |
tree | 552a0b975ab86614022d57079c4aca7bd14b37eb /remoting | |
parent | 5e0be68eff10bdaef98ec9847c97760a16a82f99 (diff) | |
download | chromium_src-f303c67ca9ffd3b4ac27071db783b2419e89fb8d.zip chromium_src-f303c67ca9ffd3b4ac27071db783b2419e89fb8d.tar.gz chromium_src-f303c67ca9ffd3b4ac27071db783b2419e89fb8d.tar.bz2 |
Post StopOnEncodeThread to the correct thread.
BUG=165303
Review URL: https://chromiumcodereview.appspot.com/11569042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173347 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/video_scheduler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/video_scheduler.cc b/remoting/host/video_scheduler.cc index c2a797e..e937bd4 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)); } |