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

Unified Diff: media/player/movie.cc

Issue 149215: Big media::Pipeline cleanup. (Closed)
Patch Set: Test Created 11 years, 5 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/video_renderer_base.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/player/movie.cc
diff --git a/media/player/movie.cc b/media/player/movie.cc
index 1ef840f2dbe624111724a2b6d244014ad1c27c57..e37a497a5d62ba896bb971ff6c9d23ca91d0c8c4 100644
--- a/media/player/movie.cc
+++ b/media/player/movie.cc
@@ -119,7 +119,7 @@ float Movie::GetDuration() {
float Movie::GetPosition() {
float position = 0.f;
if (pipeline_.get())
- position = (pipeline_->GetInterpolatedTime()).InMicroseconds() / 1000000.0f;
+ position = (pipeline_->GetTime()).InMicroseconds() / 1000000.0f;
return position;
}
« no previous file with comments | « media/filters/video_renderer_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698