[Mplayer-cvslog] CVS: main mplayer.c,1.246,1.247

Zoltan Ponekker pontscho at mplayer.dev.hu
Tue Aug 28 17:56:56 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv26620

Modified Files:
	mplayer.c 
Log Message:
cleanup, sorry

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.246
retrieving revision 1.247
diff -u -r1.246 -r1.247
--- mplayer.c	28 Aug 2001 15:50:08 -0000	1.246
+++ mplayer.c	28 Aug 2001 15:56:53 -0000	1.247
@@ -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; 




More information about the MPlayer-cvslog mailing list