mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
fix some typos
BUG=None Change-Id: If793268a5773dfab6a40bbd4ffa760f3d4cb5a46 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/228428 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34745}
This commit is contained in:
parent
e0fb45c6d4
commit
0c2a9caf8f
5 changed files with 6 additions and 6 deletions
|
@ -110,7 +110,7 @@ SOURCES_RE = re.compile(r'sources \+?= \[(?P<sources>.*?)\]',
|
||||||
DEPS_RE = re.compile(r'\bdeps \+?= \[(?P<deps>.*?)\]',
|
DEPS_RE = re.compile(r'\bdeps \+?= \[(?P<deps>.*?)\]',
|
||||||
re.MULTILINE | re.DOTALL)
|
re.MULTILINE | re.DOTALL)
|
||||||
|
|
||||||
# FILE_PATH_RE matchies a file path.
|
# FILE_PATH_RE matches a file path.
|
||||||
FILE_PATH_RE = re.compile(r'"(?P<file_path>(\w|\/)+)(?P<extension>\.\w+)"')
|
FILE_PATH_RE = re.compile(r'"(?P<file_path>(\w|\/)+)(?P<extension>\.\w+)"')
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -256,7 +256,7 @@ void TransportFeedback::LastChunk::DecodeRunLength(uint16_t chunk,
|
||||||
DeltaSize delta_size = (chunk >> 13) & 0x03;
|
DeltaSize delta_size = (chunk >> 13) & 0x03;
|
||||||
has_large_delta_ = delta_size >= kLarge;
|
has_large_delta_ = delta_size >= kLarge;
|
||||||
all_same_ = true;
|
all_same_ = true;
|
||||||
// To make it consistent with Add function, populate delta_sizes_ beyound 1st.
|
// To make it consistent with Add function, populate delta_sizes_ beyond 1st.
|
||||||
for (size_t i = 0; i < std::min<size_t>(size_, kMaxVectorCapacity); ++i)
|
for (size_t i = 0; i < std::min<size_t>(size_, kMaxVectorCapacity); ++i)
|
||||||
delta_sizes_[i] = delta_size;
|
delta_sizes_[i] = delta_size;
|
||||||
}
|
}
|
||||||
|
|
|
@ -447,7 +447,7 @@ void RtpSenderEgress::AddPacketToTransportFeedback(
|
||||||
break;
|
break;
|
||||||
case RtpPacketMediaType::kRetransmission:
|
case RtpPacketMediaType::kRetransmission:
|
||||||
// For retransmissions, we're want to remove the original media packet
|
// For retransmissions, we're want to remove the original media packet
|
||||||
// if the rentrasmit arrives - so populate that in the packet info.
|
// if the retransmit arrives - so populate that in the packet info.
|
||||||
packet_info.media_ssrc = ssrc_;
|
packet_info.media_ssrc = ssrc_;
|
||||||
packet_info.rtp_sequence_number =
|
packet_info.rtp_sequence_number =
|
||||||
*packet.retransmitted_sequence_number();
|
*packet.retransmitted_sequence_number();
|
||||||
|
|
|
@ -303,7 +303,7 @@ int32_t H264DecoderImpl::Decode(const EncodedImage& input_image,
|
||||||
return WEBRTC_VIDEO_CODEC_ERROR;
|
return WEBRTC_VIDEO_CODEC_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
// We don't expect reordering. Decoded frame tamestamp should match
|
// We don't expect reordering. Decoded frame timestamp should match
|
||||||
// the input one.
|
// the input one.
|
||||||
RTC_DCHECK_EQ(av_frame_->reordered_opaque, frame_timestamp_us);
|
RTC_DCHECK_EQ(av_frame_->reordered_opaque, frame_timestamp_us);
|
||||||
|
|
||||||
|
|
|
@ -1113,8 +1113,8 @@ bool TurnPort::ScheduleRefresh(uint32_t lifetime) {
|
||||||
<< lifetime << " seconds.";
|
<< lifetime << " seconds.";
|
||||||
delay = (lifetime * 1000) / 2;
|
delay = (lifetime * 1000) / 2;
|
||||||
} else if (lifetime > max_lifetime) {
|
} else if (lifetime > max_lifetime) {
|
||||||
// Make 1 hour largest delay, and then sce
|
// Make 1 hour largest delay, and then we schedule a refresh for one minute
|
||||||
// we schedule a refresh for one minute less than max lifetime.
|
// less than max lifetime.
|
||||||
RTC_LOG(LS_WARNING) << ToString()
|
RTC_LOG(LS_WARNING) << ToString()
|
||||||
<< ": Received response with long lifetime: "
|
<< ": Received response with long lifetime: "
|
||||||
<< lifetime << " seconds.";
|
<< lifetime << " seconds.";
|
||||||
|
|
Loading…
Reference in a new issue