Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: webrtc/modules/video_render/video_render_impl.cc

Issue 1736663004: Revert of Remove ignored return code from modules. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 break; 112 break;
113 } 113 }
114 } 114 }
115 } 115 }
116 116
117 int64_t ModuleVideoRenderImpl::TimeUntilNextProcess() 117 int64_t ModuleVideoRenderImpl::TimeUntilNextProcess()
118 { 118 {
119 // Not used 119 // Not used
120 return 50; 120 return 50;
121 } 121 }
122 void ModuleVideoRenderImpl::Process() {} 122 int32_t ModuleVideoRenderImpl::Process()
123 {
124 // Not used
125 return 0;
126 }
123 127
124 void* 128 void*
125 ModuleVideoRenderImpl::Window() 129 ModuleVideoRenderImpl::Window()
126 { 130 {
127 CriticalSectionScoped cs(&_moduleCrit); 131 CriticalSectionScoped cs(&_moduleCrit);
128 return _ptrWindow; 132 return _ptrWindow;
129 } 133 }
130 134
131 int32_t ModuleVideoRenderImpl::ChangeWindow(void* window) 135 int32_t ModuleVideoRenderImpl::ChangeWindow(void* window)
132 { 136 {
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 // This stream doesn't exist 595 // This stream doesn't exist
592 WEBRTC_TRACE(kTraceError, kTraceVideoRenderer, _id, 596 WEBRTC_TRACE(kTraceError, kTraceVideoRenderer, _id,
593 "%s: stream doesn't exist", __FUNCTION__); 597 "%s: stream doesn't exist", __FUNCTION__);
594 return -1; 598 return -1;
595 } 599 }
596 assert(item->second != NULL); 600 assert(item->second != NULL);
597 return item->second->SetTimeoutImage(videoFrame, timeout); 601 return item->second->SetTimeoutImage(videoFrame, timeout);
598 } 602 }
599 603
600 } // namespace webrtc 604 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_render/video_render_impl.h ('k') | webrtc/modules/video_render/video_render_internal_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698