summaryrefslogtreecommitdiffstats
path: root/libmpdemux/ebml.h
diff options
context:
space:
mode:
authorDaniel Dawson <ddawson@icehouse.net>2009-12-01 04:28:34 -0800
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-12-04 19:43:17 +0200
commitc3c0309eecc1d6b309138fcd40df508235c9395d (patch)
tree5d6dbd76ff7085f0f95bfddf32e31f8ef4ee49bd /libmpdemux/ebml.h
parent9b81b7827ce4ce887c6f22332e31b058f68cf3ac (diff)
downloadmpv-c3c0309eecc1d6b309138fcd40df508235c9395d.tar.bz2
mpv-c3c0309eecc1d6b309138fcd40df508235c9395d.tar.xz
Support for multiple editions in Matroska
Add code to intelligently choose an appropriate Matroska edition when there are several. Will choose, in descending order of preference: the edition chosen by the user through the option "-edition <edition id>" if it exists, the first edition with EditionFlagDefault set to 1 if there is one, or the first edition.
Diffstat (limited to 'libmpdemux/ebml.h')
-rw-r--r--libmpdemux/ebml.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/ebml.h b/libmpdemux/ebml.h
index a224bcd8e0..c3a785099c 100644
--- a/libmpdemux/ebml.h
+++ b/libmpdemux/ebml.h
@@ -145,6 +145,7 @@
/* IDs in the chapters master */
#define MATROSKA_ID_EDITIONENTRY 0x45B9
+#define MATROSKA_ID_EDITIONFLAGDEFAULT 0x45DB
#define MATROSKA_ID_EDITIONFLAGORDERED 0x45DD
#define MATROSKA_ID_CHAPTERATOM 0xB6
#define MATROSKA_ID_CHAPTERTIMESTART 0x91