[Mac] Remove webcam capture output on main thread to OS race.
commitae966fa3a4f8ce5ef6606960fc1c188df6fb24e0
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 10 Oct 2012 00:00:11 +0000 (10 00:00 +0000)
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 10 Oct 2012 00:00:11 +0000 (10 00:00 +0000)
treea8a11d90df973a6f68df1a45c7b9fc7997fad3a2
parentd0a9d157afbe3c2783e2d99b316df007d47df675
[Mac] Remove webcam capture output on main thread to OS race.

When doing webcam setup and teardown on a background thread, QTKit
appears to have a race condition around how it posts work to the main
thread.  This posts part of teardown to the main thread to work around
the problem.

BUG=152757
TEST=See bug.

Review URL: https://chromiumcodereview.appspot.com/11094031

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160986 0039d316-1c4b-4281-b951-d872f2087c98
media/video/capture/mac/video_capture_device_qtkit_mac.mm