]> git.sesse.net Git - vlc/blobdiff - modules/gui/beos/InterfaceWindow.cpp
* beos/* : fixed a bug in the progress bar with big files
[vlc] / modules / gui / beos / InterfaceWindow.cpp
index 316cb7ad641287d334c9199a8375983963abbbd6..3d066b89f74988b6f1b1fa75f1765e50b264ac90 100644 (file)
@@ -2,7 +2,7 @@
  * InterfaceWindow.cpp: beos interface
  *****************************************************************************
  * Copyright (C) 1999, 2000, 2001 VideoLAN
- * $Id: InterfaceWindow.cpp,v 1.14 2003/01/11 19:33:09 stippi Exp $
+ * $Id: InterfaceWindow.cpp,v 1.15 2003/01/12 02:08:38 titer Exp $
  *
  * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
  *          Samuel Hocevar <sam@zoy.org>
@@ -487,8 +487,7 @@ void InterfaceWindow::updateInterface()
                        bool hasChapters = p_wrapper->HasChapters();
                        p_mediaControl->SetStatus( p_wrapper->InputStatus(), 
                                                                           p_wrapper->InputRate() );
-                       p_mediaControl->SetProgress( p_wrapper->InputTell(),
-                                                                                p_wrapper->InputSize() );
+                       p_mediaControl->SetProgress( p_wrapper->getTimeAsFloat() );
                        _SetMenusEnabled( true, hasChapters, hasTitles );
 
                        _UpdateSpeedMenu( p_wrapper->InputRate() );