summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/mw.h
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/mplayer/mw.h')
-rw-r--r--Gui/mplayer/mw.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Gui/mplayer/mw.h b/Gui/mplayer/mw.h
index 8c9a62f077..fd0656bd7a 100644
--- a/Gui/mplayer/mw.h
+++ b/Gui/mplayer/mw.h
@@ -6,6 +6,8 @@
#include "../../libvo/sub.h"
#include "../../mplayer.h"
+extern unsigned int GetTimerMS( void );
+
unsigned char * mplDrawBuffer = NULL;
int mplMainRender = 1;
@@ -195,7 +197,7 @@ void mplMainDraw( wsParamDisplay )
{
char * t = Translate( item->label );
int l = fntTextWidth( item->fontid,t );
- image=fntRender( item->fontid,mplTimer%(l?l:item->width),item->width,"%s",t );
+ image=fntRender( item->fontid,(GetTimerMS() / 20)%(l?l:item->width),item->width,"%s",t );
}
drawrenderedtext:
if ( image )