[MPlayer-cvslog] r37420 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Wed Jun 10 23:17:35 CEST 2015


Author: reimar
Date: Wed Jun 10 23:17:35 2015
New Revision: 37420

Log:
Apply osd_duration also to progress bar.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Wed Jun 10 23:17:34 2015	(r37419)
+++ trunk/mplayer.c	Wed Jun 10 23:17:35 2015	(r37420)
@@ -1521,7 +1521,7 @@ void set_osd_bar(int type, const char *n
         return;
 
     if (mpctx->sh_video) {
-        osd_visible = (GetTimerMS() + 1000) | 1;
+        osd_visible = (GetTimerMS() + osd_duration) | 1;
         vo_osd_progbar_type  = type;
         vo_osd_progbar_value = 256 * (val - min) / (max - min);
         vo_osd_changed(OSDTYPE_PROGBAR);


More information about the MPlayer-cvslog mailing list