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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc

Issue 1877253002: Replaced CriticalSectionWrapper with rtc::CriticalSection in rtp_rtcp module (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: git cl format dtmf_queue.cc Created 4 years, 8 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
11 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h" 11 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 #include <string.h> 14 #include <string.h>
15 15
16 #include "webrtc/base/checks.h" 16 #include "webrtc/base/checks.h"
17 #include "webrtc/base/logging.h" 17 #include "webrtc/base/logging.h"
18 #include "webrtc/base/trace_event.h" 18 #include "webrtc/base/trace_event.h"
19 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h" 19 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h"
20 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" 20 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h"
21 #include "webrtc/modules/rtp_rtcp/source/rtp_format.h" 21 #include "webrtc/modules/rtp_rtcp/source/rtp_format.h"
22 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h" 22 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h"
23 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" 23 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
24 #include "webrtc/system_wrappers/include/critical_section_wrapper.h"
25 24
26 namespace webrtc { 25 namespace webrtc {
27 26
28 RTPReceiverStrategy* RTPReceiverStrategy::CreateVideoStrategy( 27 RTPReceiverStrategy* RTPReceiverStrategy::CreateVideoStrategy(
29 RtpData* data_callback) { 28 RtpData* data_callback) {
30 return new RTPReceiverVideo(data_callback); 29 return new RTPReceiverVideo(data_callback);
31 } 30 }
32 31
33 RTPReceiverVideo::RTPReceiverVideo(RtpData* data_callback) 32 RTPReceiverVideo::RTPReceiverVideo(RtpData* data_callback)
34 : RTPReceiverStrategy(data_callback) { 33 : RTPReceiverStrategy(data_callback) {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 RtpFeedback* callback, 116 RtpFeedback* callback,
118 int8_t payload_type, 117 int8_t payload_type,
119 const char payload_name[RTP_PAYLOAD_NAME_SIZE], 118 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
120 const PayloadUnion& specific_payload) const { 119 const PayloadUnion& specific_payload) const {
121 // TODO(pbos): Remove as soon as audio can handle a changing payload type 120 // TODO(pbos): Remove as soon as audio can handle a changing payload type
122 // without this callback. 121 // without this callback.
123 return 0; 122 return 0;
124 } 123 }
125 124
126 } // namespace webrtc 125 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698