[MPlayer-cvslog] r37477 - in trunk/gui/ui: actions.c actions.h

ib subversion at mplayerhq.hu
Sat Sep 5 20:15:40 CEST 2015


Author: ib
Date: Sat Sep  5 20:15:40 2015
New Revision: 37477

Log:
Cosmetic: Rename uiAbsSeek() uiPctSeek().

This is what it does (and an absolute seek function will come).

Modified:
   trunk/gui/ui/actions.c
   trunk/gui/ui/actions.h

Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c	Sat Sep  5 18:20:27 2015	(r37476)
+++ trunk/gui/ui/actions.c	Sat Sep  5 20:15:40 2015	(r37477)
@@ -310,7 +310,7 @@ play:
 
     case evSetMoviePosition:
         guiInfo.Position = param;
-        uiAbsSeek(guiInfo.Position);
+        uiPctSeek(guiInfo.Position);
         break;
 
     case evIncVolume:
@@ -620,7 +620,7 @@ void uiRelSeek(float sec)
  *
  * @param percent percentage of playback time to position to
  */
-void uiAbsSeek(float percent)
+void uiPctSeek(float percent)
 {
     rel_seek_secs = percent / 100.0;
     abs_seek_pos  = SEEK_ABSOLUTE | SEEK_FACTOR;

Modified: trunk/gui/ui/actions.h
==============================================================================
--- trunk/gui/ui/actions.h	Sat Sep  5 18:20:27 2015	(r37476)
+++ trunk/gui/ui/actions.h	Sat Sep  5 20:15:40 2015	(r37477)
@@ -21,13 +21,13 @@
 
 extern int uiLoadPlay;
 
-void uiAbsSeek(float sec);
 void uiChangeSkin(char *name);
 void uiCurr(void);
 void uiEvent(int ev, float param);
 void uiFullScreen(void);
 void uiNext(void);
 void uiPause(void);
+void uiPctSeek(float sec);
 void uiPlay(void);
 void uiPrev(void);
 void uiRelSeek(float percent);


More information about the MPlayer-cvslog mailing list