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

Side by Side Diff: webrtc/modules/video_render/video_render_internal_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, 9 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
« no previous file with comments | « webrtc/modules/video_render/video_render_impl.cc ('k') | webrtc/video/call_stats.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « webrtc/modules/video_render/video_render_impl.cc ('k') | webrtc/video/call_stats.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698