diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-21 06:17:22 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-23 13:48:37 +0300 |
commit | 3ee6503a078a45f1506fa0daaa768a511d58fcf0 (patch) | |
tree | 55a6a6259272b9c30569d50c2d5d42d2adff62ca /mp_core.h | |
parent | c1f9fe7d673ab7c34232a1fe9312e60f81503ccf (diff) | |
download | mpv-3ee6503a078a45f1506fa0daaa768a511d58fcf0.tar.bz2 mpv-3ee6503a078a45f1506fa0daaa768a511d58fcf0.tar.xz |
Move global rel_seek_secs and abs_seek_pos to mpctx
Diffstat (limited to 'mp_core.h')
-rw-r--r-- | mp_core.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -74,6 +74,10 @@ typedef struct MPContext { // by the audio CPU usage meter. double delay; + // Used to communicate the parameters of a seek between parts + float rel_seek_secs; + int abs_seek_pos; + float begin_skip; ///< start time of the current skip while on edlout mode // audio is muted if either EDL or user activates mute short edl_muted; ///< Stores whether EDL is currently in muted mode. @@ -108,8 +112,6 @@ typedef struct MPContext { // Most of these should not be globals -extern int abs_seek_pos; -extern float rel_seek_secs; extern FILE *edl_fd; extern int file_filter; // These appear in options list |