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

Unified Diff: media/base/decoder_buffer.cc

Issue 251893002: Support start trimming post-decoding. Use it with FFmpegDemuxer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments. Created 6 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
Index: media/base/decoder_buffer.cc
diff --git a/media/base/decoder_buffer.cc b/media/base/decoder_buffer.cc
index b6d7d264bed5a8b83f076a1722ed0d48ba3285a8..2059817f27a05ef6b99b319129cf427773c94084 100644
--- a/media/base/decoder_buffer.cc
+++ b/media/base/decoder_buffer.cc
@@ -83,7 +83,8 @@ std::string DecoderBuffer::AsHumanReadableString() {
<< " size: " << size_
<< " side_data_size: " << side_data_size_
<< " encrypted: " << (decrypt_config_ != NULL)
- << " discard_padding (ms): " << discard_padding_.InMilliseconds();
+ << " discard_padding (ms): (" << discard_padding_.first.InMilliseconds()
+ << ", " << discard_padding_.second.InMilliseconds() << ")";
return s.str();
}

Powered by Google App Engine
This is Rietveld 408576698