Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1821)

Unified Diff: media/capture/video/win/video_capture_device_win.cc

Issue 2673373003: getUserMeida: report device starting states (Closed)
Patch Set: address comments on PS#3 Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698