| 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 |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 break; | 292 break; |
| 293 } | 293 } |
| 294 } | 294 } |
| 295 } | 295 } |
| 296 | 296 |
| 297 int64_t ModuleVideoRenderImpl::TimeUntilNextProcess() | 297 int64_t ModuleVideoRenderImpl::TimeUntilNextProcess() |
| 298 { | 298 { |
| 299 // Not used | 299 // Not used |
| 300 return 50; | 300 return 50; |
| 301 } | 301 } |
| 302 void ModuleVideoRenderImpl::Process() {} | 302 int32_t ModuleVideoRenderImpl::Process() |
| 303 { |
| 304 // Not used |
| 305 return 0; |
| 306 } |
| 303 | 307 |
| 304 void* | 308 void* |
| 305 ModuleVideoRenderImpl::Window() | 309 ModuleVideoRenderImpl::Window() |
| 306 { | 310 { |
| 307 CriticalSectionScoped cs(&_moduleCrit); | 311 CriticalSectionScoped cs(&_moduleCrit); |
| 308 return _ptrWindow; | 312 return _ptrWindow; |
| 309 } | 313 } |
| 310 | 314 |
| 311 int32_t ModuleVideoRenderImpl::ChangeWindow(void* window) | 315 int32_t ModuleVideoRenderImpl::ChangeWindow(void* window) |
| 312 { | 316 { |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 814 // This stream doesn't exist | 818 // This stream doesn't exist |
| 815 WEBRTC_TRACE(kTraceError, kTraceVideoRenderer, _id, | 819 WEBRTC_TRACE(kTraceError, kTraceVideoRenderer, _id, |
| 816 "%s: stream doesn't exist", __FUNCTION__); | 820 "%s: stream doesn't exist", __FUNCTION__); |
| 817 return -1; | 821 return -1; |
| 818 } | 822 } |
| 819 assert(item->second != NULL); | 823 assert(item->second != NULL); |
| 820 return item->second->SetTimeoutImage(videoFrame, timeout); | 824 return item->second->SetTimeoutImage(videoFrame, timeout); |
| 821 } | 825 } |
| 822 | 826 |
| 823 } // namespace webrtc | 827 } // namespace webrtc |
| OLD | NEW |