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

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

Issue 2673373003: getUserMeida: report device starting states (Closed)
Patch Set: address comments on PS#8 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
« no previous file with comments | « media/capture/video/video_frame_receiver.h ('k') | media/capture/video/win/video_capture_device_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1644148b571977b5f048a745985ae69eeb558c5d 100644
--- a/media/capture/video/win/video_capture_device_mf_win.cc
+++ b/media/capture/video/win/video_capture_device_mf_win.cc
@@ -239,6 +239,7 @@ void VideoCaptureDeviceMFWin::AllocateAndStart(
reader_->ReadSample(kFirstVideoStream, 0, NULL, NULL, NULL, NULL);
if (SUCCEEDED(hr)) {
capture_format_ = found_capability.supported_format;
+ client_->OnStarted();
capture_ = true;
return;
}
« no previous file with comments | « media/capture/video/video_frame_receiver.h ('k') | media/capture/video/win/video_capture_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698