diff options
author | atlka <atlka@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-13 13:12:49 +0000 |
---|---|---|
committer | atlka <atlka@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-13 13:12:49 +0000 |
commit | 8632ea05269cd3d71b21bc62832967267accaafa (patch) | |
tree | 3817dfbf1c43064f119445d75eea7fe9f7d7bcd6 | |
parent | 0a9ae48206c271e4ae58df7ee4bafaa99322341c (diff) | |
download | mpv-8632ea05269cd3d71b21bc62832967267accaafa.tar.bz2 mpv-8632ea05269cd3d71b21bc62832967267accaafa.tar.xz |
modified mplayer.c to rewert to PLAY after rewinding after 1 sec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1505 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/sub.c | 2 | ||||
-rw-r--r-- | mplayer.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libvo/sub.c b/libvo/sub.c index 095bb86b46..6f49a9bfa0 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -196,8 +196,6 @@ inline static void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,in 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, @@ -1446,8 +1446,10 @@ if(auto_quality>0){ #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 @@ if(rel_seek_secs){ 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; |