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

Unified Diff: media/base/pipeline.cc

Issue 557333002: Revert of Switch to using media::TimeSource inside media::RendererImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/base/mock_filters.h ('k') | media/base/pipeline_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline.cc
diff --git a/media/base/pipeline.cc b/media/base/pipeline.cc
index 086dd9651b16cdc4f7106d9a44e404ab23a8fa3c..6e680d528a70bc64922c7d78a497aae291673e5a 100644
--- a/media/base/pipeline.cc
+++ b/media/base/pipeline.cc
@@ -690,7 +690,8 @@
base::Bind(&Pipeline::OnUpdateStatistics, weak_this),
base::Bind(&Pipeline::OnRendererEnded, weak_this),
base::Bind(&Pipeline::OnError, weak_this),
- base::Bind(&Pipeline::BufferingStateChanged, weak_this));
+ base::Bind(&Pipeline::BufferingStateChanged, weak_this),
+ base::Bind(&Pipeline::GetMediaDuration, base::Unretained(this)));
}
void Pipeline::ReportMetadata() {
« no previous file with comments | « media/base/mock_filters.h ('k') | media/base/pipeline_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698