OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 /* | 11 /* |
12 * video_capture_mac.cc | 12 * video_capture_mac.cc |
13 * | 13 * |
14 */ | 14 */ |
15 | 15 |
16 #include <QuickTime/QuickTime.h> | 16 #include <QuickTime/QuickTime.h> |
17 | 17 |
18 #include "webrtc/modules/video_capture/device_info_impl.h" | 18 #include "webrtc/modules/video_capture/device_info_impl.h" |
19 #include "webrtc/modules/video_capture/video_capture_config.h" | 19 #include "webrtc/modules/video_capture/video_capture_config.h" |
20 #include "webrtc/modules/video_capture/video_capture_impl.h" | 20 #include "webrtc/modules/video_capture/video_capture_impl.h" |
21 #include "webrtc/system_wrappers/interface/ref_count.h" | 21 #include "webrtc/system_wrappers/include/ref_count.h" |
22 #include "webrtc/system_wrappers/interface/trace.h" | 22 #include "webrtc/system_wrappers/include/trace.h" |
23 | 23 |
24 // 10.4 support must be decided runtime. We will just decide which framework to | 24 // 10.4 support must be decided runtime. We will just decide which framework to |
25 // use at compile time "work" classes. One for QTKit, one for QuickTime | 25 // use at compile time "work" classes. One for QTKit, one for QuickTime |
26 #if __MAC_OS_X_VERSION_MIN_REQUIRED == __MAC_10_4 // QuickTime version | 26 #if __MAC_OS_X_VERSION_MIN_REQUIRED == __MAC_10_4 // QuickTime version |
27 #include <QuickTime/video_capture_quick_time.h> | 27 #include <QuickTime/video_capture_quick_time.h> |
28 #include <QuickTime/video_capture_quick_time_info.h> | 28 #include <QuickTime/video_capture_quick_time_info.h> |
29 #else | 29 #else |
30 #include "webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit.h" | 30 #include "webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit.h" |
31 #include "webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_info.h" | 31 #include "webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_info.h" |
32 #endif | 32 #endif |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 | 262 |
263 } | 263 } |
264 | 264 |
265 /************************************************************************** | 265 /************************************************************************** |
266 * | 266 * |
267 * End Create/Destroy VideoCaptureModule | 267 * End Create/Destroy VideoCaptureModule |
268 * | 268 * |
269 ***************************************************************************/ | 269 ***************************************************************************/ |
270 } // namespace videocapturemodule | 270 } // namespace videocapturemodule |
271 } // namespace webrtc | 271 } // namespace webrtc |
OLD | NEW |