Fix inverted RTC_DCHECK in RtpVideoStreamReceiver::RtcpFeedbackBuffer
Bug: None Change-Id: I4b81b1d6b935756598db7dd0e6bcbc4f970e0d44 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/140106 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Elad Alon <eladalon@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28160}
This commit is contained in:
@ -120,7 +120,7 @@ void RtpVideoStreamReceiver::RtcpFeedbackBuffer::SendLossNotification(
|
|||||||
bool buffering_allowed) {
|
bool buffering_allowed) {
|
||||||
RTC_DCHECK(buffering_allowed);
|
RTC_DCHECK(buffering_allowed);
|
||||||
rtc::CritScope lock(&cs_);
|
rtc::CritScope lock(&cs_);
|
||||||
RTC_DCHECK(lntf_state_)
|
RTC_DCHECK(!lntf_state_)
|
||||||
<< "SendLossNotification() called twice in a row with no call to "
|
<< "SendLossNotification() called twice in a row with no call to "
|
||||||
"SendBufferedRtcpFeedback() in between.";
|
"SendBufferedRtcpFeedback() in between.";
|
||||||
lntf_state_ = absl::make_optional<LossNotificationState>(
|
lntf_state_ = absl::make_optional<LossNotificationState>(
|
||||||
|
Reference in New Issue
Block a user