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

Side by Side Diff: webrtc/video/vie_sync_module.h

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/video/overuse_frame_detector.cc ('k') | webrtc/video/vie_sync_module.cc » ('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 22 matching lines...) Expand all
33 explicit ViESyncModule(VideoCodingModule* vcm); 33 explicit ViESyncModule(VideoCodingModule* vcm);
34 ~ViESyncModule(); 34 ~ViESyncModule();
35 35
36 void ConfigureSync(int voe_channel_id, 36 void ConfigureSync(int voe_channel_id,
37 VoEVideoSync* voe_sync_interface, 37 VoEVideoSync* voe_sync_interface,
38 RtpRtcp* video_rtcp_module, 38 RtpRtcp* video_rtcp_module,
39 RtpReceiver* video_receiver); 39 RtpReceiver* video_receiver);
40 40
41 // Implements Module. 41 // Implements Module.
42 int64_t TimeUntilNextProcess() override; 42 int64_t TimeUntilNextProcess() override;
43 void Process() override; 43 int32_t Process() override;
44 44
45 private: 45 private:
46 rtc::CriticalSection data_cs_; 46 rtc::CriticalSection data_cs_;
47 VideoCodingModule* const vcm_; 47 VideoCodingModule* const vcm_;
48 RtpReceiver* video_receiver_; 48 RtpReceiver* video_receiver_;
49 RtpRtcp* video_rtp_rtcp_; 49 RtpRtcp* video_rtp_rtcp_;
50 int voe_channel_id_; 50 int voe_channel_id_;
51 VoEVideoSync* voe_sync_interface_; 51 VoEVideoSync* voe_sync_interface_;
52 TickTime last_sync_time_; 52 TickTime last_sync_time_;
53 rtc::scoped_ptr<StreamSynchronization> sync_; 53 rtc::scoped_ptr<StreamSynchronization> sync_;
54 StreamSynchronization::Measurements audio_measurement_; 54 StreamSynchronization::Measurements audio_measurement_;
55 StreamSynchronization::Measurements video_measurement_; 55 StreamSynchronization::Measurements video_measurement_;
56 }; 56 };
57 57
58 } // namespace webrtc 58 } // namespace webrtc
59 59
60 #endif // WEBRTC_VIDEO_VIE_SYNC_MODULE_H_ 60 #endif // WEBRTC_VIDEO_VIE_SYNC_MODULE_H_
OLDNEW
« no previous file with comments | « webrtc/video/overuse_frame_detector.cc ('k') | webrtc/video/vie_sync_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698