summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoratlka <atlka@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-13 13:12:49 +0000
committeratlka <atlka@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-13 13:12:49 +0000
commit8632ea05269cd3d71b21bc62832967267accaafa (patch)
tree3817dfbf1c43064f119445d75eea7fe9f7d7bcd6 /mplayer.c
parent0a9ae48206c271e4ae58df7ee4bafaa99322341c (diff)
downloadmpv-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
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mplayer.c b/mplayer.c
index 1ec4099ab2..e160d90b70 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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;