]> granicus.if.org Git - libmatroska/commitdiff
Add new track selection flags track-selection-flags
authorSteve Lhomme <slhomme@matroska.org>
Sun, 31 Jan 2021 13:04:53 +0000 (14:04 +0100)
committerSteve Lhomme <slhomme@matroska.org>
Sun, 31 Jan 2021 13:05:15 +0000 (14:05 +0100)
matroska/KaxSemantic.h
src/KaxSemantic.cpp

index b7a3dfdaaf8280c63b8945f761a7aabf40053db7..d4969c277f386cf7f2a0c4f8ecdf68184b0a3845 100644 (file)
@@ -223,6 +223,21 @@ DECLARE_MKX_UINTEGER(KaxTrackFlagDefault)
 DECLARE_MKX_UINTEGER(KaxTrackFlagForced)
 };
 
+DECLARE_MKX_UINTEGER(KaxFlagHearingImpaired)
+};
+
+DECLARE_MKX_UINTEGER(KaxFlagVisualImpaired)
+};
+
+DECLARE_MKX_UINTEGER(KaxFlagTextDescriptions)
+};
+
+DECLARE_MKX_UINTEGER(KaxFlagOriginal)
+};
+
+DECLARE_MKX_UINTEGER(KaxFlagCommentary)
+};
+
 DECLARE_MKX_UINTEGER(KaxTrackFlagLacing)
 };
 
index eb239b72053f42691d411e4edca113b022de1940..74ff4b50e9545dff60dcb0d63a15b93d8f3956e5 100644 (file)
@@ -219,6 +219,11 @@ DEFINE_SEMANTIC_ITEM(true, true, KaxTrackType)
 DEFINE_SEMANTIC_ITEM(true, true, KaxTrackFlagEnabled)
 DEFINE_SEMANTIC_ITEM(true, true, KaxTrackFlagDefault)
 DEFINE_SEMANTIC_ITEM(true, true, KaxTrackFlagForced)
+DEFINE_SEMANTIC_ITEM(false, true, KaxFlagHearingImpaired)
+DEFINE_SEMANTIC_ITEM(false, true, KaxFlagVisualImpaired)
+DEFINE_SEMANTIC_ITEM(false, true, KaxFlagTextDescriptions)
+DEFINE_SEMANTIC_ITEM(false, true, KaxFlagOriginal)
+DEFINE_SEMANTIC_ITEM(false, true, KaxFlagCommentary)
 DEFINE_SEMANTIC_ITEM(true, true, KaxTrackFlagLacing)
 DEFINE_SEMANTIC_ITEM(true, true, KaxTrackMinCache)
 DEFINE_SEMANTIC_ITEM(false, true, KaxTrackMaxCache)
@@ -261,6 +266,11 @@ DEFINE_MKX_UINTEGER(KaxTrackType, 0x83, 1, KaxTrackEntry, "TrackType")
 DEFINE_MKX_UINTEGER_DEF(KaxTrackFlagEnabled, 0xB9, 1, KaxTrackEntry, "TrackFlagEnabled", 1)
 DEFINE_MKX_UINTEGER_DEF(KaxTrackFlagDefault, 0x88, 1, KaxTrackEntry, "TrackFlagDefault", 1)
 DEFINE_MKX_UINTEGER_DEF(KaxTrackFlagForced, 0x55AA, 2, KaxTrackEntry, "TrackFlagForced", 0)
+DEFINE_MKX_UINTEGER_DEF(KaxFlagHearingImpaired, 0x55AB, 2, KaxTrackEntry, "FlagHearingImpaired", 0)
+DEFINE_MKX_UINTEGER_DEF(KaxFlagVisualImpaired, 0x55AC, 2, KaxTrackEntry, "FlagVisualImpaired", 0)
+DEFINE_MKX_UINTEGER_DEF(KaxFlagTextDescriptions, 0x55AD, 2, KaxTrackEntry, "FlagTextDescriptions", 0)
+DEFINE_MKX_UINTEGER_DEF(KaxFlagOriginal, 0x55AE, 2, KaxTrackEntry, "FlagOriginal", 0)
+DEFINE_MKX_UINTEGER_DEF(KaxFlagCommentary, 0x55AF, 2, KaxTrackEntry, "FlagCommentary", 0)
 DEFINE_MKX_UINTEGER_DEF(KaxTrackFlagLacing, 0x9C, 1, KaxTrackEntry, "TrackFlagLacing", 1)
 DEFINE_MKX_UINTEGER_DEF(KaxTrackMinCache, 0x6DE7, 2, KaxTrackEntry, "TrackMinCache", 0)
 DEFINE_MKX_UINTEGER(KaxTrackMaxCache, 0x6DF8, 2, KaxTrackEntry, "TrackMaxCache")