summaryrefslogtreecommitdiffstats
path: root/demux/demux.h
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux.h')
-rw-r--r--demux/demux.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/demux/demux.h b/demux/demux.h
index 6f9437f2d3..a979a357c1 100644
--- a/demux/demux.h
+++ b/demux/demux.h
@@ -120,6 +120,12 @@ typedef struct demux_chapter
uint64_t demuxer_id; // for mapping to internal demuxer data structures
} demux_chapter_t;
+struct demux_edition {
+ uint64_t demuxer_id;
+ bool default_edition;
+ struct mp_tags *metadata;
+};
+
struct matroska_segment_uid {
unsigned char segment[16];
uint64_t edition;
@@ -175,6 +181,7 @@ typedef struct demuxer {
int num_streams;
bool stream_autoselect;
+ struct demux_edition *editions;
int num_editions;
int edition;