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

Unified Diff: media/video/capture/video_capture_device.cc

Issue 545053002: Add still image capture interface for VideoCaptureDevice. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/video/capture/video_capture_device.cc
diff --git a/media/video/capture/video_capture_device.cc b/media/video/capture/video_capture_device.cc
index 3aa18269f013b22f7e008d7b00b85ee3cd5d74b6..675476b2b003b6406d009f1cae3832d9b852f661 100644
--- a/media/video/capture/video_capture_device.cc
+++ b/media/video/capture/video_capture_device.cc
@@ -76,4 +76,10 @@ int VideoCaptureDevice::GetPowerLineFrequencyForLocation() const {
return kPowerLine60Hz;
}
+void VideoCaptureDevice::InitializeImageCapture(
+ const ImageCaptureFormat& image_format,
+ scoped_ptr<ImageClient> client) {
+ client->OnError("Not supported");
wuchengli 2014/09/09 05:53:21 The client can know if image capture is supported
Owen Lin 2014/09/11 06:17:59 Good point.
+}
+
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698