DefaultVideoQualityAnalyzer cleanup.
Remove done todos Bug: webrtc:10138 Change-Id: I33ad6da41bf51a0ed3bafd5ae671f94d00e16ce3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/127563 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27109}
This commit is contained in:
parent
982dc791db
commit
baf271f978
@ -135,7 +135,6 @@ void DefaultVideoQualityAnalyzer::OnFrameEncoded(
|
||||
uint16_t frame_id,
|
||||
const webrtc::EncodedImage& encoded_image) {
|
||||
rtc::CritScope crit(&lock_);
|
||||
// TODO(titovartem) we need to pick right spatial index here.
|
||||
auto it = frame_stats_.find(frame_id);
|
||||
RTC_DCHECK(it != frame_stats_.end());
|
||||
RTC_DCHECK(it->second.encoded_time.IsInfinite())
|
||||
@ -154,7 +153,6 @@ void DefaultVideoQualityAnalyzer::OnFrameDropped(
|
||||
void DefaultVideoQualityAnalyzer::OnFrameReceived(
|
||||
uint16_t frame_id,
|
||||
const webrtc::EncodedImage& input_image) {
|
||||
// TODO(titovartem) We should always receive only single spatial layer here.
|
||||
rtc::CritScope crit(&lock_);
|
||||
auto it = frame_stats_.find(frame_id);
|
||||
RTC_DCHECK(it != frame_stats_.end());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user