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

Unified Diff: media/base/mac/avfoundation_glue.mm

Issue 2129733004: ImageCapture: Implement takePhoto() for Mac AVFoundation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rsesek@ and emircan@s comments Created 4 years, 5 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/base/mac/avfoundation_glue.mm
diff --git a/media/base/mac/avfoundation_glue.mm b/media/base/mac/avfoundation_glue.mm
index 56f51aa6a32f259f98b968797a288fccd82884be..4bd6d72ab92dd0c6f10c8db803b49667e3e33cd3 100644
--- a/media/base/mac/avfoundation_glue.mm
+++ b/media/base/mac/avfoundation_glue.mm
@@ -167,6 +167,10 @@ Class AVFoundationGlue::AVCaptureVideoDataOutputClass() {
return [AVFoundationBundle() classNamed:@"AVCaptureVideoDataOutput"];
}
+Class AVFoundationGlue::AVCaptureStillImageOutputClass() {
+ return [AVFoundationBundle() classNamed:@"AVCaptureStillImageOutput"];
+}
+
@implementation AVCaptureDeviceGlue
+ (NSArray*)devices {

Powered by Google App Engine
This is Rietveld 408576698