OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 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 // TODO(nisse): Deprecated, replace cricket::VideoFrame with | 11 // TODO(nisse): Deprecated, replace cricket::VideoFrame with |
12 // webrtc::VideoFrame everywhere, then delete this file. See | 12 // webrtc::VideoFrame everywhere, then delete this file. See |
13 // https://bugs.chromium.org/p/webrtc/issues/detail?id=5682. | 13 // https://bugs.chromium.org/p/webrtc/issues/detail?id=5682. |
14 | 14 |
15 #ifndef WEBRTC_MEDIA_BASE_VIDEOFRAME_H_ | 15 #ifndef WEBRTC_MEDIA_BASE_VIDEOFRAME_H_ |
16 #define WEBRTC_MEDIA_BASE_VIDEOFRAME_H_ | 16 #define WEBRTC_MEDIA_BASE_VIDEOFRAME_H_ |
17 | 17 |
18 // TODO(nisse): Some applications expect that including this file | 18 // TODO(nisse): Some applications expect that including this file |
19 // implies an include of logging.h. So keep for compatibility, until | 19 // implies an include of logging.h. So keep for compatibility, until |
20 // this file can be deleted. | 20 // this file can be deleted. |
21 #include "webrtc/base/logging.h" | 21 #include "webrtc/base/logging.h" |
22 | 22 |
23 #include "webrtc/video_frame.h" | 23 #include "webrtc/api/video/video_frame.h" |
24 | 24 |
25 // TODO(nisse): Similarly, some applications expect that including this file | 25 // TODO(nisse): Similarly, some applications expect that including this file |
26 // implies a forward declaration of rtc::Thread. | 26 // implies a forward declaration of rtc::Thread. |
27 namespace rtc { | 27 namespace rtc { |
28 class Thread; | 28 class Thread; |
29 } // namespace rtc | 29 } // namespace rtc |
30 | 30 |
31 namespace cricket { | 31 namespace cricket { |
32 | 32 |
33 using VideoFrame = webrtc::VideoFrame; | 33 using VideoFrame = webrtc::VideoFrame; |
34 | 34 |
35 } // namespace cricket | 35 } // namespace cricket |
36 | 36 |
37 #endif // WEBRTC_MEDIA_BASE_VIDEOFRAME_H_ | 37 #endif // WEBRTC_MEDIA_BASE_VIDEOFRAME_H_ |
OLD | NEW |