diff mplayer.c @ 1504:f4f686aed404

modified mplayer.c to rewert to PLAY after rewinding after 1 sec
author atlka
date Mon, 13 Aug 2001 13:12:49 +0000
parents d40f2b686846
children d4cd08b06665
line wrap: on
line diff
--- a/mplayer.c	Mon Aug 13 11:45:21 2001 +0000
+++ b/mplayer.c	Mon Aug 13 13:12:49 2001 +0000
@@ -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;