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
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user