summaryrefslogtreecommitdiffstats
path: root/media/player
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 22:09:28 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 22:09:28 +0000
commit128740bbcd5abb0c75254e6eb57b46192c1f47d1 (patch)
tree635b88468f502fdf65828766735de711e86170e2 /media/player
parent6973e1cbd7434f30ed00c49a23838a82f90e8a0f (diff)
downloadchromium_src-128740bbcd5abb0c75254e6eb57b46192c1f47d1.zip
chromium_src-128740bbcd5abb0c75254e6eb57b46192c1f47d1.tar.gz
chromium_src-128740bbcd5abb0c75254e6eb57b46192c1f47d1.tar.bz2
Renamed FilterHost::Error() and Pipeline::GetTime() to more appropriate names.
BUG=17107 TEST=none Review URL: http://codereview.chromium.org/155711 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/player')
-rw-r--r--media/player/movie.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/player/movie.cc b/media/player/movie.cc
index 2bb4001..3554730 100644
--- a/media/player/movie.cc
+++ b/media/player/movie.cc
@@ -121,7 +121,7 @@ float Movie::GetDuration() {
float Movie::GetPosition() {
float position = 0.f;
if (pipeline_.get())
- position = (pipeline_->GetTime()).InMicroseconds() / 1000000.0f;
+ position = (pipeline_->GetCurrentTime()).InMicroseconds() / 1000000.0f;
return position;
}