summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-21 06:17:22 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:48:37 +0300
commit3ee6503a078a45f1506fa0daaa768a511d58fcf0 (patch)
tree55a6a6259272b9c30569d50c2d5d42d2adff62ca /mp_core.h
parentc1f9fe7d673ab7c34232a1fe9312e60f81503ccf (diff)
downloadmpv-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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/mp_core.h b/mp_core.h
index 2307a88724..32f7f26ef8 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -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