# HG changeset patch # User atlka # Date 997708369 0 # Node ID f4f686aed40480e98a5573202d7ce6702ad41c6e # Parent 1af1f37efd673c095fa199e8f5dffacfbbb73b72 modified mplayer.c to rewert to PLAY after rewinding after 1 sec diff -r 1af1f37efd67 -r f4f686aed404 libvo/sub.c --- a/libvo/sub.c Mon Aug 13 11:45:21 2001 +0000 +++ b/libvo/sub.c Mon Aug 13 13:12:49 2001 +0000 @@ -196,8 +196,6 @@ while (l--){ x = xtbl[i++]; while ((c=utbl[k++])){ -// c=utbl[k]; -// k++; if (x>=0 && x+vo_font->width[c]<=dxs) if ((font=vo_font->font[c])>=0) draw_alpha(x,y, diff -r 1af1f37efd67 -r f4f686aed404 mplayer.c --- 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;