[Mplayer-cvslog] CVS: main mplayer.c,1.218,1.219

Adam Tla/lka atlka at mplayer.dev.hu
Mon Aug 13 15:12:51 CEST 2001


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

Modified Files:
	mplayer.c 
Log Message:

modified mplayer.c to rewert to PLAY after rewinding after 1 sec


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.218
retrieving revision 1.219
diff -u -r1.218 -r1.219
--- mplayer.c	13 Aug 2001 11:08:18 -0000	1.218
+++ mplayer.c	13 Aug 2001 13:12:49 -0000	1.219
@@ -1446,8 +1446,10 @@
 
 #ifdef USE_OSD
   if(osd_visible){
-    --osd_visible;
-    if(!osd_visible) vo_osd_progbar_type=-1; // disable
+    if (!--osd_visible){ vo_osd_progbar_type=-1; // disable
+       if (osd_function != OSD_PAUSE)
+	   osd_function = OSD_PLAY;
+    }
   }
 #endif
 
@@ -1699,7 +1701,7 @@
       
       c_total=0;
       max_pts_correction=0.1;
-//      force_redraw=5;
+      osd_visible=sh_video->fps; // to rewert to PLAY pointer after 1 sec
       audio_time_usage=0; video_time_usage=0; vout_time_usage=0;
       drop_frame_cnt=0;
   




More information about the MPlayer-cvslog mailing list