diff --git a/matroska/KaxSemantic.h b/matroska/KaxSemantic.h index 79e94ccf..245b9156 100644 --- a/matroska/KaxSemantic.h +++ b/matroska/KaxSemantic.h @@ -254,9 +254,13 @@ DECLARE_MKX_UINTEGER(KaxTrackFlagLacing) }; DECLARE_MKX_UINTEGER(KaxTrackMinCache) +public: + filepos_t RenderData(IOCallback & output, bool bForceRender, bool bSaveDefault) override; }; DECLARE_MKX_UINTEGER(KaxTrackMaxCache) +public: + filepos_t RenderData(IOCallback & output, bool bForceRender, bool bSaveDefault) override; }; DECLARE_MKX_UINTEGER(KaxTrackDefaultDuration) diff --git a/src/KaxSemantic.cpp b/src/KaxSemantic.cpp index af4ddd66..34935c48 100644 --- a/src/KaxSemantic.cpp +++ b/src/KaxSemantic.cpp @@ -225,8 +225,8 @@ 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) +DEFINE_SEMANTIC_ITEM(true, true, KaxTrackMinCache) // not supported +DEFINE_SEMANTIC_ITEM(false, true, KaxTrackMaxCache) // not supported DEFINE_SEMANTIC_ITEM(false, true, KaxTrackDefaultDuration) DEFINE_SEMANTIC_ITEM(false, true, KaxTrackDefaultDecodedFieldDuration) DEFINE_SEMANTIC_ITEM(true, true, KaxTrackTimecodeScale) @@ -832,6 +832,16 @@ filepos_t KaxEncryptedBlock::RenderData(IOCallback & /* output */, bool /* bForc return 0; } +filepos_t KaxTrackMinCache::RenderData(IOCallback & /* output */, bool /* bForceRender */, bool /* bSaveDefault */) { + assert(false); // no you are not allowed to use this element ! + return 0; +} + +filepos_t KaxTrackMaxCache::RenderData(IOCallback & /* output */, bool /* bForceRender */, bool /* bSaveDefault */) { + assert(false); // no you are not allowed to use this element ! + return 0; +} + filepos_t KaxTrackTimecodeScale::RenderData(IOCallback & /* output */, bool /* bForceRender */, bool /* bSaveDefault */) { assert(false); // no you are not allowed to use this element ! return 0;