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

Unified Diff: media/capture/video/mac/video_capture_device_mac.mm

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/mac/video_capture_device_mac.mm
diff --git a/media/capture/video/mac/video_capture_device_mac.mm b/media/capture/video/mac/video_capture_device_mac.mm
index d14f55102f8559442b74095a7db9fb25cd0af198..a3c0166372582f13e3e8665c74e43ebcee8739e3 100644
--- a/media/capture/video/mac/video_capture_device_mac.mm
+++ b/media/capture/video/mac/video_capture_device_mac.mm
@@ -359,6 +359,7 @@ void VideoCaptureDeviceMac::AllocateAndStart(
return;
}
+ client_->OnStarted();
chfremer 2017/02/16 01:00:50 Unless ReceiveFrame() is invoked on the same threa
braveyao 2017/02/17 20:37:21 OnStarted must be called at the last of AllocatAnd
state_ = kCapturing;
}

Powered by Google App Engine
This is Rietveld 408576698