summaryrefslogtreecommitdiffstats
path: root/demux/timeline.h
diff options
context:
space:
mode:
Diffstat (limited to 'demux/timeline.h')
-rw-r--r--demux/timeline.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/demux/timeline.h b/demux/timeline.h
index faeec53b32..7bc7e9e053 100644
--- a/demux/timeline.h
+++ b/demux/timeline.h
@@ -2,6 +2,7 @@
#define MP_TIMELINE_H_
#include "common/common.h"
+#include "misc/bstr.h"
// Single segment in a timeline.
struct timeline_part {
@@ -24,9 +25,11 @@ struct timeline_par {
bstr init_fragment;
bool dash, no_clip, delay_open;
- // If non-NULL, _some_ fields are used. If delay_open==true, this must be
- // set, and the codec info is used.
- struct sh_stream *sh_meta;
+ // 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;