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

Unified Diff: media/filters/ffmpeg_demuxer.cc

Issue 186683002: Reland "Add base::TimeDelta::Max()" again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more of these Created 6 years, 10 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/chunk_demuxer.cc ('k') | net/http/http_response_headers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_demuxer.cc
diff --git a/media/filters/ffmpeg_demuxer.cc b/media/filters/ffmpeg_demuxer.cc
index 6273b59aa3002ae53340812b4e128becd485c52d..2470836d4f8d5709e18485e1bf025837e0929442 100644
--- a/media/filters/ffmpeg_demuxer.cc
+++ b/media/filters/ffmpeg_demuxer.cc
@@ -733,7 +733,7 @@ void FFmpegDemuxer::OnFindStreamInfoDone(const PipelineStatusCB& status_cb,
}
- media_log_->SetDoubleProperty("max_duration", max_duration.InSecondsF());
+ media_log_->SetTimeProperty("max_duration", max_duration);
media_log_->SetDoubleProperty("start_time", start_time_.InSecondsF());
scherkus (not reviewing) 2014/03/04 18:13:02 can you change this as well? according to code se
gavinp 2014/03/05 15:16:41 Done.
media_log_->SetIntegerProperty("bitrate", bitrate_);
« no previous file with comments | « media/filters/chunk_demuxer.cc ('k') | net/http/http_response_headers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698