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

Side by Side Diff: webrtc/media/engine/webrtcvideoengine2.cc

Issue 2019423006: Adding more detail to MessageQueue::Dispatch logging. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing one more place where RTC_FROM_HERE wasn't used. Created 4 years, 6 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/media/engine/webrtcvideocapturer.cc ('k') | webrtc/media/sctp/sctpdataengine.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) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 1986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1997 1997
1998 void WebRtcVideoChannel2::WebRtcVideoSendStream::SetSend(bool send) { 1998 void WebRtcVideoChannel2::WebRtcVideoSendStream::SetSend(bool send) {
1999 rtc::CritScope cs(&lock_); 1999 rtc::CritScope cs(&lock_);
2000 sending_ = send; 2000 sending_ = send;
2001 UpdateSendState(); 2001 UpdateSendState();
2002 } 2002 }
2003 2003
2004 void WebRtcVideoChannel2::WebRtcVideoSendStream::OnLoadUpdate(Load load) { 2004 void WebRtcVideoChannel2::WebRtcVideoSendStream::OnLoadUpdate(Load load) {
2005 if (worker_thread_ != rtc::Thread::Current()) { 2005 if (worker_thread_ != rtc::Thread::Current()) {
2006 invoker_.AsyncInvoke<void>( 2006 invoker_.AsyncInvoke<void>(
2007 worker_thread_, 2007 RTC_FROM_HERE, worker_thread_,
2008 rtc::Bind(&WebRtcVideoChannel2::WebRtcVideoSendStream::OnLoadUpdate, 2008 rtc::Bind(&WebRtcVideoChannel2::WebRtcVideoSendStream::OnLoadUpdate,
2009 this, load)); 2009 this, load));
2010 return; 2010 return;
2011 } 2011 }
2012 RTC_DCHECK(thread_checker_.CalledOnValidThread()); 2012 RTC_DCHECK(thread_checker_.CalledOnValidThread());
2013 if (!source_) { 2013 if (!source_) {
2014 return; 2014 return;
2015 } 2015 }
2016 { 2016 {
2017 rtc::CritScope cs(&lock_); 2017 rtc::CritScope cs(&lock_);
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
2613 rtx_mapping[video_codecs[i].codec.id] != 2613 rtx_mapping[video_codecs[i].codec.id] !=
2614 fec_settings.red_payload_type) { 2614 fec_settings.red_payload_type) {
2615 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id]; 2615 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id];
2616 } 2616 }
2617 } 2617 }
2618 2618
2619 return video_codecs; 2619 return video_codecs;
2620 } 2620 }
2621 2621
2622 } // namespace cricket 2622 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/media/engine/webrtcvideocapturer.cc ('k') | webrtc/media/sctp/sctpdataengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698