Commit f629599a authored by Dale Curtis's avatar Dale Curtis Committed by Commit Bot

Fix media log for complexity based buffering to use milliseconds.

Field has a label of "ms", but was actually being output in seconds.

BUG=none
TEST=manual

Change-Id: I24025ba0dc956697d8315c81aa940ea86937a013
Reviewed-on: https://chromium-review.googlesource.com/804616Reviewed-by: default avatarChrome Cunningham <chcunningham@chromium.org>
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521171}
parent 8b187d71
...@@ -976,7 +976,8 @@ void VideoRendererImpl::UpdateMaxBufferedFrames() { ...@@ -976,7 +976,8 @@ void VideoRendererImpl::UpdateMaxBufferedFrames() {
MEDIA_LOG(INFO, media_log_) MEDIA_LOG(INFO, media_log_)
<< "Updating max buffered frames to " << max_buffered_frames << "Updating max buffered frames to " << max_buffered_frames
<< ", average frame duration: " << frame_duration.InMillisecondsF() << ", average frame duration: " << frame_duration.InMillisecondsF()
<< "ms, average read duration: " << read_durations_.Average() << "ms, average read duration: "
<< read_durations_.Average().InMillisecondsF()
<< "ms, max read duration: " << read_durations_.max().InMillisecondsF() << "ms, max read duration: " << read_durations_.max().InMillisecondsF()
<< "ms. [" << min_buffered_frames_ << ", " << max_buffered_frames_ << "ms. [" << min_buffered_frames_ << ", " << max_buffered_frames_
<< "]"; << "]";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment