aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-04 21:05:55 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-04 21:05:55 +0000
commitd739c517d1c2848956937c31f3793f414cb88d5f (patch)
tree069dd211f6d773f85c42a22d247961a333072cb2
parentd5fef408d1c13fafab1334143315d161899b3f62 (diff)
don't show OSD progbar when -loop seeks back
based on patch by Aurelien JACOBS <aurel@gnuage.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8785 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mplayer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mplayer.c b/mplayer.c
index f6bb95aa75..5e98e84665 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -192,6 +192,7 @@ static char *seek_to_sec=NULL;
static off_t seek_to_byte=0;
static off_t step_sec=0;
static int loop_times=-1;
+static int loop_seek=0;
// A/V sync:
int autosync=0; // 30 might be a good default value.
@@ -2869,7 +2870,7 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still)
play_n_frames=play_n_frames_mf;
eof=0;
abs_seek_pos=3; rel_seek_secs=0; // seek to start of movie (0%)
-
+ loop_seek = 1;
}
if(rel_seek_secs || abs_seek_pos){
@@ -2908,7 +2909,7 @@ if(rel_seek_secs || abs_seek_pos){
}
#ifdef USE_OSD
// Set OSD:
- if(osd_level){
+ if(osd_level && !loop_seek){
#ifdef USE_EDL
if( !edl_decision ) {
#else
@@ -2956,6 +2957,7 @@ if(rel_seek_secs || abs_seek_pos){
abs_seek_pos=0;
frame_time_remaining=0;
current_module=NULL;
+ loop_seek=0;
}
#ifdef HAVE_NEW_GUI