[MPlayer-cvslog] r37027 - trunk/gui/ui/actions.c

ib subversion at mplayerhq.hu
Fri Mar 21 15:29:40 CET 2014


Author: ib
Date: Fri Mar 21 15:29:40 2014
New Revision: 37027

Log:
Set guiInfo.Position in SetMoviePosition event.

Additionally, use this variable to call uiAbsSeek().

(This also allows setting the movie position before playback now.)

Modified:
   trunk/gui/ui/actions.c

Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c	Fri Mar 21 15:24:21 2014	(r37026)
+++ trunk/gui/ui/actions.c	Fri Mar 21 15:29:40 2014	(r37027)
@@ -306,7 +306,8 @@ play:
         break;
 
     case evSetMoviePosition:
-        uiAbsSeek(param);
+        guiInfo.Position = param;
+        uiAbsSeek(guiInfo.Position);
         break;
 
     case evIncVolume:


More information about the MPlayer-cvslog mailing list