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

Unified Diff: media/base/audio_discard_helper.cc

Issue 1954633002: MEDIA_LOG for large encoded timestamp gaps in decoder stream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: New strategy, only check gaps after meeting initial (offset) expectations. Created 4 years, 7 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 | media/filters/decoder_stream.h » ('j') | media/filters/decoder_stream.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_discard_helper.cc
diff --git a/media/base/audio_discard_helper.cc b/media/base/audio_discard_helper.cc
index 3e60d174b382dd5d0081a6a009b0ee48c1b406ea..fdd7351ff02d8f2eecd93d0641a9729ff23e8860 100644
--- a/media/base/audio_discard_helper.cc
+++ b/media/base/audio_discard_helper.cc
@@ -229,6 +229,9 @@ bool AudioDiscardHelper::ProcessBuffers(
DCHECK(current_discard_padding.second.is_zero());
}
+ DVLOG(3) << __FUNCTION__ << " ts: " << timestamp_helper_.GetTimestamp()
+ << " frames: " << decoded_buffer->frame_count();
+
// Assign timestamp to the buffer.
decoded_buffer->set_timestamp(timestamp_helper_.GetTimestamp());
timestamp_helper_.AddFrames(decoded_buffer->frame_count());
« no previous file with comments | « no previous file | media/filters/decoder_stream.h » ('j') | media/filters/decoder_stream.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698