summaryrefslogtreecommitdiffstats
path: root/demux/timeline.h
diff options
context:
space:
mode:
Diffstat (limited to 'demux/timeline.h')
-rw-r--r--demux/timeline.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/demux/timeline.h b/demux/timeline.h
index c8151a0606..7bc7e9e053 100644
--- a/demux/timeline.h
+++ b/demux/timeline.h
@@ -1,6 +1,9 @@
#ifndef MP_TIMELINE_H_
#define MP_TIMELINE_H_
+#include "common/common.h"
+#include "misc/bstr.h"
+
// Single segment in a timeline.
struct timeline_part {
// (end time must match with start time of the next part)
@@ -20,7 +23,13 @@ struct timeline_part {
// "par" is short for parallel stream.
struct timeline_par {
bstr init_fragment;
- bool dash, no_clip;
+ bool dash, no_clip, delay_open;
+
+ // Of any of these, _some_ fields are used. If delay_open==true, this
+ // describes each sub-track, and the codec info is used.
+ // In both cases, the metadata is mapped to actual tracks in specific ways.
+ struct sh_stream **sh_meta;
+ int num_sh_meta;
// Segments to play, ordered by time.
struct timeline_part *parts;