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 #include "webrtc/common_video/interface/incoming_video_stream.h" | 11 #include "webrtc/common_video/include/incoming_video_stream.h" |
12 | 12 |
13 #include <assert.h> | 13 #include <assert.h> |
14 | 14 |
15 #if defined(_WIN32) | 15 #if defined(_WIN32) |
16 #include <windows.h> | 16 #include <windows.h> |
17 #elif defined(WEBRTC_LINUX) | 17 #elif defined(WEBRTC_LINUX) |
18 #include <sys/time.h> | 18 #include <sys/time.h> |
19 #include <time.h> | 19 #include <time.h> |
20 #else | 20 #else |
21 #include <sys/time.h> | 21 #include <sys/time.h> |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 } | 247 } |
248 | 248 |
249 // We're done with this frame. | 249 // We're done with this frame. |
250 if (!frame_to_render.IsZeroSize()) | 250 if (!frame_to_render.IsZeroSize()) |
251 last_render_time_ms_ = frame_to_render.render_time_ms(); | 251 last_render_time_ms_ = frame_to_render.render_time_ms(); |
252 } | 252 } |
253 return true; | 253 return true; |
254 } | 254 } |
255 | 255 |
256 } // namespace webrtc | 256 } // namespace webrtc |
OLD | NEW |