[MPlayer-cvslog] r35525 - in trunk/gui: ui/actions.c win32/interface.c
ib
subversion at mplayerhq.hu
Fri Nov 30 13:17:29 CET 2012
Author: ib
Date: Fri Nov 30 13:17:29 2012
New Revision: 35525
Log:
Use symbolic constants to set abs_seek_pos.
Modified:
trunk/gui/ui/actions.c
trunk/gui/win32/interface.c
Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c Fri Nov 30 12:40:35 2012 (r35524)
+++ trunk/gui/ui/actions.c Fri Nov 30 13:17:29 2012 (r35525)
@@ -35,6 +35,7 @@
#include "config.h"
#include "help_mp.h"
#include "input/input.h"
+#include "libmpdemux/demuxer.h"
#include "libmpcodecs/vd.h"
#include "libvo/video_out.h"
#include "mp_core.h"
@@ -115,7 +116,7 @@ void uiRelSeek(float sec)
void uiAbsSeek(float percent)
{
rel_seek_secs = percent / 100.0;
- abs_seek_pos = 3;
+ abs_seek_pos = SEEK_ABSOLUTE | SEEK_FACTOR;
}
void uiChangeSkin(char *name)
Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c Fri Nov 30 12:40:35 2012 (r35524)
+++ trunk/gui/win32/interface.c Fri Nov 30 13:17:29 2012 (r35525)
@@ -296,7 +296,7 @@ static void guiSetEvent(int event)
case evSetMoviePosition:
{
rel_seek_secs = guiInfo.Position / 100.0f;
- abs_seek_pos = 3;
+ abs_seek_pos = SEEK_ABSOLUTE | SEEK_FACTOR;
break;
}
case evForward10sec:
More information about the MPlayer-cvslog
mailing list