changeset 1730:bea87c823666

cleanup, sorry
author pontscho
date Tue, 28 Aug 2001 15:56:53 +0000
parents d6c99f70449e
children 07e2dfca67a3
files mplayer.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Tue Aug 28 15:55:02 2001 +0000
+++ b/mplayer.c	Tue Aug 28 15:56:53 2001 +0000
@@ -186,8 +186,6 @@
 
 static int play_in_bg=0;
 
-extern float gui_position;
-
 extern void avi_fixate();
 
 // options:
@@ -1745,10 +1743,6 @@
 #ifdef HAVE_NEW_GUI
       if(use_gui){
         int len=((demuxer->movi_end-demuxer->movi_start));
-//        if(len>0)
-//          gui_position=(float)(demuxer->filepos-demuxer->movi_start)/len;
-//        else
-//	  gui_position=-1;
 	if ( len > 0 ) mplShMem->Position=(float)(demuxer->filepos-demuxer->movi_start) / len * 100.0f;
 	 else mplShMem->Position=0;
 	mplShMem->TimeSec=d_video->pts;