summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/player/core.h b/player/core.h
index d6475eb385..6cb77f7499 100644
--- a/player/core.h
+++ b/player/core.h
@@ -26,6 +26,7 @@
#include "common/common.h"
#include "options/options.h"
#include "sub/osd.h"
+#include "demux/timeline.h"
// definitions used internally by the core player code
@@ -41,12 +42,6 @@ enum stop_play_reason {
PT_ERROR, // play next playlist entry (due to an error)
};
-struct timeline_part {
- double start;
- double source_start;
- struct demuxer *source;
-};
-
enum mp_osd_seek_info {
OSD_SEEK_INFO_BAR = 1,
OSD_SEEK_INFO_TEXT = 2,
@@ -188,6 +183,7 @@ typedef struct MPContext {
struct demuxer **sources;
int num_sources;
+ struct timeline *tl;
struct timeline_part *timeline;
int num_timeline_parts;
int timeline_part;