[Mplayer-cvslog] CVS: main mplayer.c,1.244,1.245

Adam Tla/lka atlka at mplayer.dev.hu
Tue Aug 28 16:22:39 CEST 2001


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

Modified Files:
	mplayer.c 
Log Message:

changes according to OSD calculations


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.244
retrieving revision 1.245
diff -u -r1.244 -r1.245
--- mplayer.c	28 Aug 2001 12:43:40 -0000	1.244
+++ mplayer.c	28 Aug 2001 14:22:37 -0000	1.245
@@ -1759,11 +1759,11 @@
         // Set OSD:
       if(osd_level){
         int len=((demuxer->movi_end-demuxer->movi_start)>>8);
-        if(len>0){
-          osd_visible=sh_video->fps; // 1 sec
-          vo_osd_progbar_type=0;
-	  vo_osd_progbar_value=(demuxer->filepos-demuxer->movi_start)/len;
-        }
+        if (len>0){
+	   osd_visible=sh_video->fps; // 1 sec
+	   vo_osd_progbar_type=0;
+	   vo_osd_progbar_value=(demuxer->filepos-demuxer->movi_start)/len;
+	}
       }
 #endif
       




More information about the MPlayer-cvslog mailing list