OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #import "media/video/capture/mac/avfoundation_glue.h" | 5 #import "media/base/mac/avfoundation_glue.h" |
6 | 6 |
7 #include <dlfcn.h> | 7 #include <dlfcn.h> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
11 #include "base/mac/mac_util.h" | 11 #include "base/mac/mac_util.h" |
12 #include "base/metrics/field_trial.h" | 12 #include "base/metrics/field_trial.h" |
13 #include "media/base/media_switches.h" | 13 #include "media/base/media_switches.h" |
14 | 14 |
15 namespace { | 15 namespace { |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 @implementation AVCaptureDeviceInputGlue | 212 @implementation AVCaptureDeviceInputGlue |
213 | 213 |
214 + (CrAVCaptureDeviceInput*)deviceInputWithDevice:(CrAVCaptureDevice*)device | 214 + (CrAVCaptureDeviceInput*)deviceInputWithDevice:(CrAVCaptureDevice*)device |
215 error:(NSError**)outError { | 215 error:(NSError**)outError { |
216 return [[AVFoundationGlue::AVFoundationBundle() | 216 return [[AVFoundationGlue::AVFoundationBundle() |
217 classNamed:@"AVCaptureDeviceInput"] deviceInputWithDevice:device | 217 classNamed:@"AVCaptureDeviceInput"] deviceInputWithDevice:device |
218 error:outError]; | 218 error:outError]; |
219 } | 219 } |
220 | 220 |
221 @end // @implementation AVCaptureDeviceInputGlue | 221 @end // @implementation AVCaptureDeviceInputGlue |
OLD | NEW |