]> granicus.if.org Git - libmatroska/commitdiff
Add new element 'DefaultDecodedFieldDuration'
authorMoritz Bunkus <moritz@bunkus.org>
Tue, 19 Mar 2013 11:07:42 +0000 (12:07 +0100)
committerMoritz Bunkus <moritz@bunkus.org>
Tue, 19 Mar 2013 11:07:42 +0000 (12:07 +0100)
See
http://lists.matroska.org/pipermail/matroska-devel/2012-December/004371.html

matroska/KaxSemantic.h
src/KaxSemantic.cpp

index 070dfffd19c9f1b1d7081d2b89c554aa55191a06..5914de73d47ff3bb1bd4abb83498088fe519ae8d 100644 (file)
@@ -243,6 +243,11 @@ DECLARE_MKX_UINTEGER(KaxTrackMaxCache)
 DECLARE_MKX_UINTEGER(KaxTrackDefaultDuration)
 };
 
+#if MATROSKA_VERSION >= 2
+DECLARE_MKX_UINTEGER(KaxTrackDefaultDecodedFieldDuration)
+};
+#endif
+
 DECLARE_MKX_FLOAT(KaxTrackTimecodeScale)
 public:
        filepos_t RenderData(IOCallback & output, bool bForceRender, bool bSaveDefault);
index 948070d7da19af16c0a6616d940f02a1a1acac39..4b9563b20ed8675577dbce74ffadc549001acac4 100644 (file)
@@ -242,6 +242,9 @@ DEFINE_SEMANTIC_ITEM(true, true, KaxTrackFlagLacing)
 DEFINE_SEMANTIC_ITEM(true, true, KaxTrackMinCache)\r
 DEFINE_SEMANTIC_ITEM(false, true, KaxTrackMaxCache)\r
 DEFINE_SEMANTIC_ITEM(false, true, KaxTrackDefaultDuration)\r
+#if MATROSKA_VERSION >= 2\r
+DEFINE_SEMANTIC_ITEM(false, true, KaxTrackDefaultDecodedFieldDuration)\r
+#endif // MATROSKA_VERSION\r
 DEFINE_SEMANTIC_ITEM(true, true, KaxTrackTimecodeScale)\r
 #if MATROSKA_VERSION >= 2\r
 DEFINE_SEMANTIC_ITEM(false, true, KaxTrackOffset) // not supported\r
@@ -287,6 +290,9 @@ DEFINE_MKX_UINTEGER_DEF(KaxTrackFlagLacing, 0x9C, 1, KaxTrackEntry, "TrackFlagLa
 DEFINE_MKX_UINTEGER_DEF(KaxTrackMinCache, 0x6DE7, 2, KaxTrackEntry, "TrackMinCache", 0);\r
 DEFINE_MKX_UINTEGER(KaxTrackMaxCache, 0x6DF8, 2, KaxTrackEntry, "TrackMaxCache");\r
 DEFINE_MKX_UINTEGER(KaxTrackDefaultDuration, 0x23E383, 3, KaxTrackEntry, "TrackDefaultDuration");\r
+#if MATROSKA_VERSION >= 2\r
+DEFINE_MKX_UINTEGER(KaxTrackDefaultDecodedFieldDuration, 0x234E7A, 3, KaxTrackEntry, "TrackDefaultDecodedFieldDuration");\r
+#endif\r
 DEFINE_MKX_FLOAT_DEF(KaxTrackTimecodeScale, 0x23314F, 3, KaxTrackEntry, "TrackTimecodeScale", 1);\r
 #if MATROSKA_VERSION >= 2\r
 DEFINE_MKX_SINTEGER_DEF(KaxTrackOffset, 0x537F, 2, KaxTrackEntry, "TrackOffset", 0);\r