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