Retry: Win Video Capture: Create an STA |video_capture_thread_| from MediaStreamManager.
commitac1db38b82e5dfdddced45bc77e126a85ef01ce0
authormcasas <mcasas@chromium.org>
Tue, 4 Nov 2014 22:31:45 +0000 (4 14:31 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 4 Nov 2014 22:32:07 +0000 (4 22:32 +0000)
treeaf2a97f099a0375b3a598c56dc8449e7724c2940
parent3a94d804ddc0ed31279312184cc8ec7a80e2daeb
Retry: Win Video Capture: Create an STA |video_capture_thread_| from MediaStreamManager.

(This CL is tries to fix http://crrev.com/700503002 that was reverted
due to some failing Android content_browsertests.)

Original message ------------------------------------------------------

YCWebCameraSource.ax causes a huge amount of Chrome crashes. This CL
changes the initialization model of the Device Thread, a.k.a Audio
Thread, from Multiple Thread appartment model to Single Thread model,
MTA -> STA.

We'll monitor the crash rate in the Canaries to see if it has the
desired effect.

BUG=427192, 421991

Review URL: https://codereview.chromium.org/706443002

Cr-Commit-Position: refs/heads/master@{#302689}
content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
content/browser/renderer_host/media/media_stream_manager.cc
content/browser/renderer_host/media/media_stream_manager.h
content/browser/renderer_host/media/video_capture_manager.h