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

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

Issue 2673373003: getUserMeida: report device starting states (Closed)
Patch Set: 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_mf_win.cc
diff --git a/media/capture/video/win/video_capture_device_mf_win.cc b/media/capture/video/win/video_capture_device_mf_win.cc
index 88fd33d2c83c82bd56e92c738a7d802fb6cde53f..a1c615674cd636fcbdebc2fb198f176ea8dcbbfc 100644
--- a/media/capture/video/win/video_capture_device_mf_win.cc
+++ b/media/capture/video/win/video_capture_device_mf_win.cc
@@ -240,6 +240,7 @@ void VideoCaptureDeviceMFWin::AllocateAndStart(
if (SUCCEEDED(hr)) {
capture_format_ = found_capability.supported_format;
capture_ = true;
+ client_->OnStarted();
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698