OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "media/video/capture/mac/video_capture_device_factory_mac.h" | 5 #include "media/video/capture/mac/video_capture_device_factory_mac.h" |
6 | 6 |
7 #import <IOKit/audio/IOAudioTypes.h> | 7 #import <IOKit/audio/IOAudioTypes.h> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
197 case VideoCaptureDevice::Name::DECKLINK: | 197 case VideoCaptureDevice::Name::DECKLINK: |
198 DVLOG(1) << "Enumerating video capture capabilities " << device.name(); | 198 DVLOG(1) << "Enumerating video capture capabilities " << device.name(); |
199 VideoCaptureDeviceDeckLinkMac::EnumerateDeviceCapabilities( | 199 VideoCaptureDeviceDeckLinkMac::EnumerateDeviceCapabilities( |
200 device, supported_formats); | 200 device, supported_formats); |
201 break; | 201 break; |
202 default: | 202 default: |
203 NOTREACHED(); | 203 NOTREACHED(); |
204 } | 204 } |
205 } | 205 } |
206 | 206 |
207 // static. | |
mcasas
2014/11/19 22:25:32
Remove dot
ostap
2014/11/20 15:47:16
Done.
| |
208 VideoCaptureDeviceFactory* | |
209 VideoCaptureDeviceFactory::CreateVideoCaptureDeviceFactory( | |
210 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { | |
211 return new VideoCaptureDeviceFactoryMac(ui_task_runner); | |
212 } | |
213 | |
207 } // namespace media | 214 } // namespace media |
OLD | NEW |