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

Unified Diff: webrtc/modules/video_coding/utility/frame_dropper.cc

Issue 1888453004: Remove VERBOSE logs from frame_dropper.cc. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/utility/frame_dropper.cc
diff --git a/webrtc/modules/video_coding/utility/frame_dropper.cc b/webrtc/modules/video_coding/utility/frame_dropper.cc
index c95048c074359171e3c34e10b234df60440166d3..9c606f8cdc818027636f02056d126e4f5be3874b 100644
--- a/webrtc/modules/video_coding/utility/frame_dropper.cc
+++ b/webrtc/modules/video_coding/utility/frame_dropper.cc
@@ -129,13 +129,6 @@ void FrameDropper::Fill(size_t framesize_bytes, bool delta_frame) {
// Change the level of the accumulator (bucket)
accumulator_ += framesize_kbits;
CapAccumulator();
- LOG(LS_VERBOSE) << "FILL acc " << accumulator_ << " max " << accumulator_max_
- << " count " << large_frame_accumulation_count_ << " chunk "
- << large_frame_accumulation_chunk_size_ << " spread "
- << large_frame_accumulation_spread_ << " delta avg "
- << delta_frame_size_avg_kbits_.filtered() << " SIZE "
- << framesize_kbits << "key frame ratio "
- << key_frame_ratio_.filtered();
}
void FrameDropper::Leak(uint32_t input_framerate) {
@@ -160,10 +153,6 @@ void FrameDropper::Leak(uint32_t input_framerate) {
if (accumulator_ < 0.0f) {
accumulator_ = 0.0f;
}
- LOG(LS_VERBOSE) << "LEAK acc " << accumulator_ << " max " << accumulator_max_
- << " count " << large_frame_accumulation_count_ << " spread "
- << large_frame_accumulation_spread_ << " delta avg "
- << delta_frame_size_avg_kbits_.filtered();
UpdateRatio();
}
@@ -201,8 +190,6 @@ bool FrameDropper::DropFrame() {
drop_next_ = false;
drop_count_ = 0;
}
- LOG(LS_VERBOSE) << " drop_ratio_ " << drop_ratio_.filtered()
- << " drop_count_ " << drop_count_;
if (drop_ratio_.filtered() >= 0.5f) { // Drops per keep
// limit is the number of frames we should drop between each kept frame
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698