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

Unified Diff: media/base/pipeline.cc

Issue 1415683009: Support earliest seekable time in WMPI. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more androidfixes. Created 5 years, 1 month 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/pipeline.h ('k') | media/blink/webmediaplayer_impl.h » ('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 2527086b89ac07e7102907b8d3963efee1fc3c2c..d868825fe1e425d0a7b50c5ca77a929ab775a6de 100644
--- a/media/base/pipeline.cc
+++ b/media/base/pipeline.cc
@@ -165,6 +165,11 @@ Ranges<TimeDelta> Pipeline::GetBufferedTimeRanges() const {
return buffered_time_ranges_;
}
+base::TimeDelta Pipeline::GetMediaStartTime() const {
+ DCHECK(task_runner_->BelongsToCurrentThread());
+ return demuxer_->GetStartTime();
+}
+
TimeDelta Pipeline::GetMediaDuration() const {
base::AutoLock auto_lock(lock_);
return duration_;
« no previous file with comments | « media/base/pipeline.h ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698