Chromium Code Reviews| Index: media/capture/video/win/video_capture_device_win.cc |
| diff --git a/media/capture/video/win/video_capture_device_win.cc b/media/capture/video/win/video_capture_device_win.cc |
| index 4cb7f30c344e73282d949ab833f7117de2da645d..ce617ae298817cace42aa22d797dda9dda9d913c 100644 |
| --- a/media/capture/video/win/video_capture_device_win.cc |
| +++ b/media/capture/video/win/video_capture_device_win.cc |
| @@ -422,6 +422,7 @@ void VideoCaptureDeviceWin::AllocateAndStart( |
| return; |
| } |
| + client_->OnStarted(); |
|
chfremer
2017/02/16 01:00:50
Unless FrameReceived() is called on the same threa
braveyao
2017/02/17 20:37:21
We need to call OnStarted() after the capture is s
|
| state_ = kCapturing; |
| } |