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

Unified Diff: media/blink/webmediaplayer_impl.cc

Issue 2808833005: Seek for video track changes on FFmpegDemuxer.
Patch Set: Created 3 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
« no previous file with comments | « no previous file | media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl.cc
diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc
index 1673e039c862f2d48686e2b17dcfd60f9ec56d00..b69d127921d8febf42a3e9deef95d2d9759f1954 100644
--- a/media/blink/webmediaplayer_impl.cc
+++ b/media/blink/webmediaplayer_impl.cc
@@ -2308,6 +2308,8 @@ void WebMediaPlayerImpl::ReportTimeFromForegroundToFirstFrame(
base::TimeTicks foreground_time,
base::TimeTicks new_frame_time) {
base::TimeDelta time_to_first_frame = new_frame_time - foreground_time;
+ LOG(ERROR) << __func__ << " : " << time_to_first_frame.InMillisecondsF()
+ << "ms";
if (HasAudio()) {
UMA_HISTOGRAM_TIMES(
"Media.Video.TimeFromForegroundToFirstFrame.DisableTrack",
« no previous file with comments | « no previous file | media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698