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

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

Issue 1737013002: Reland of move 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 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
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
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