summaryrefslogtreecommitdiffstats
path: root/demux/timeline.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-15 02:19:20 +0100
committerwm4 <wm4@nowhere>2020-02-15 02:19:20 +0100
commita9acfa82c35c4d5a98737d1cfda5d56e622f9674 (patch)
tree10cf2bb9c86fdd5c5c13a08a8c9f8a5cb3ced140 /demux/timeline.h
parent641d102101087a3453398800febce2f65f104203 (diff)
downloadmpv-a9acfa82c35c4d5a98737d1cfda5d56e622f9674.tar.bz2
mpv-a9acfa82c35c4d5a98737d1cfda5d56e622f9674.tar.xz
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;