summaryrefslogtreecommitdiffstats
path: root/demux/timeline.h
diff options
context:
space:
mode:
Diffstat (limited to 'demux/timeline.h')
-rw-r--r--demux/timeline.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/demux/timeline.h b/demux/timeline.h
index c8151a0606..04ded0ad64 100644
--- a/demux/timeline.h
+++ b/demux/timeline.h
@@ -1,6 +1,8 @@
#ifndef MP_TIMELINE_H_
#define MP_TIMELINE_H_
+#include "common/common.h"
+
// Single segment in a timeline.
struct timeline_part {
// (end time must match with start time of the next part)
@@ -22,6 +24,12 @@ struct timeline_par {
bstr init_fragment;
bool dash, no_clip;
+ bool delay_open;
+ enum stream_type delay_open_st; // valid if delay_open=true, promised type
+
+ char *lang;
+ char *title;
+
// Segments to play, ordered by time.
struct timeline_part *parts;
int num_parts;