changeset 36931:884277c93772

Set guiInfo.Position in SetMoviePosition event. Additionally, use this variable to call uiAbsSeek(). (This also allows setting the movie position before playback now.)
author ib
date Fri, 21 Mar 2014 14:29:40 +0000
parents dcd4562389bd
children d762d49a47e0
files gui/ui/actions.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/actions.c	Fri Mar 21 14:24:21 2014 +0000
+++ b/gui/ui/actions.c	Fri Mar 21 14:29:40 2014 +0000
@@ -306,7 +306,8 @@
         break;
 
     case evSetMoviePosition:
-        uiAbsSeek(param);
+        guiInfo.Position = param;
+        uiAbsSeek(guiInfo.Position);
         break;
 
     case evIncVolume: