[MPlayer-cvslog] r37509 - in branches/1.2: . gui/ui/actions.c gui/ui/actions.h
ib
subversion at mplayerhq.hu
Tue Sep 8 23:02:13 CEST 2015
Author: ib
Date: Tue Sep 8 23:02:13 2015
New Revision: 37509
Log:
Merge r37492 from trunk:
Add uiAbsSeek().
Modified:
branches/1.2/ (props changed)
branches/1.2/gui/ui/actions.c
branches/1.2/gui/ui/actions.h
Modified: branches/1.2/gui/ui/actions.c
==============================================================================
--- branches/1.2/gui/ui/actions.c Tue Sep 8 23:02:10 2015 (r37508)
+++ branches/1.2/gui/ui/actions.c Tue Sep 8 23:02:13 2015 (r37509)
@@ -603,6 +603,19 @@ void uiState(void)
/**
* @brief Seek new playback position.
*
+ * The new position is an absolute one.
+ *
+ * @param sec playback time in seconds to position to
+ */
+void uiAbsSeek(float sec)
+{
+ rel_seek_secs = sec;
+ abs_seek_pos = SEEK_ABSOLUTE;
+}
+
+/**
+ * @brief Seek new playback position.
+ *
* The new position is a relative one.
*
* @param sec seconds to seek (either forward (> 0) or backward (< 0))
Modified: branches/1.2/gui/ui/actions.h
==============================================================================
--- branches/1.2/gui/ui/actions.h Tue Sep 8 23:02:10 2015 (r37508)
+++ branches/1.2/gui/ui/actions.h Tue Sep 8 23:02:13 2015 (r37509)
@@ -21,6 +21,7 @@
extern int uiLoadPlay;
+void uiAbsSeek(float sec);
void uiChangeSkin(char *name);
void uiCurr(void);
void uiEvent(int ev, float param);
More information about the MPlayer-cvslog
mailing list