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

Unified Diff: media/formats/webm/webm_cluster_parser.cc

Issue 1310423003: Revert of MSE: Verify MediaLog events created by existing WebM unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « media/filters/source_buffer_stream_unittest.cc ('k') | media/formats/webm/webm_cluster_parser_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/webm/webm_cluster_parser.cc
diff --git a/media/formats/webm/webm_cluster_parser.cc b/media/formats/webm/webm_cluster_parser.cc
index 38a9f42bcfe5678bcfcf725da17330ce72aa6db7..92b508bc17544f4e86c328cd7830ba7330a3f230 100644
--- a/media/formats/webm/webm_cluster_parser.cc
+++ b/media/formats/webm/webm_cluster_parser.cc
@@ -241,9 +241,8 @@
// things go sideways.
LIMITED_MEDIA_LOG(DEBUG, media_log_, num_duration_errors_,
kMaxDurationErrorLogs)
- << "Warning, demuxed Opus packet with encoded duration: "
- << duration.InMilliseconds() << "ms. Should be no greater than "
- << kPacketDurationMax.InMilliseconds() << "ms.";
+ << "Warning, demuxed Opus packet with encoded duration: " << duration
+ << ". Should be no greater than " << kPacketDurationMax;
}
return duration;
@@ -562,9 +561,10 @@
if (duration_difference.magnitude() > kWarnDurationDiff) {
LIMITED_MEDIA_LOG(DEBUG, media_log_, num_duration_errors_,
kMaxDurationErrorLogs)
- << "BlockDuration (" << block_duration_time_delta.InMilliseconds()
- << "ms) differs significantly from encoded duration ("
- << encoded_duration.InMilliseconds() << "ms).";
+ << "BlockDuration "
+ << "(" << block_duration_time_delta << ") "
+ << "differs significantly from encoded duration "
+ << "(" << encoded_duration << ").";
}
}
} else if (block_duration_time_delta != kNoTimestamp()) {
@@ -693,11 +693,10 @@
LIMITED_MEDIA_LOG(INFO, media_log_, num_duration_estimates_,
kMaxDurationEstimateLogs)
- << "Estimating WebM block duration to be "
- << estimated_duration.InMilliseconds()
- << "ms for the last (Simple)Block in the Cluster for this Track. Use "
- "BlockGroups with BlockDurations at the end of each Track in a "
- "Cluster to avoid estimation.";
+ << "Estimating WebM block duration to be " << estimated_duration << " "
+ << "for the last (Simple)Block in the Cluster for this Track. Use "
+ << "BlockGroups with BlockDurations at the end of each Track in a "
+ << "Cluster to avoid estimation.";
DVLOG(2) << __FUNCTION__ << " new dur : ts "
<< last_added_buffer_missing_duration_->timestamp().InSecondsF()
« no previous file with comments | « media/filters/source_buffer_stream_unittest.cc ('k') | media/formats/webm/webm_cluster_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698