From: Steve Lhomme Date: Sun, 21 Jun 2020 09:01:13 +0000 (+0200) Subject: Allow writing TrackTimecodeScale X-Git-Tag: release-1.6.0~25^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84dc9e8680022924cfa322202cb1c5157de1d4aa;p=libmatroska Allow writing TrackTimecodeScale TrackTimestampScale/TrackTimecodeScale was allowed until Matroska v3 so it should be possible to remux files with the value. --- diff --git a/matroska/KaxSemantic.h b/matroska/KaxSemantic.h index 65084fb..757a211 100644 --- a/matroska/KaxSemantic.h +++ b/matroska/KaxSemantic.h @@ -254,8 +254,6 @@ DECLARE_MKX_UINTEGER(KaxTrackDefaultDecodedFieldDuration) #endif DECLARE_MKX_FLOAT(KaxTrackTimecodeScale) -public: - filepos_t RenderData(IOCallback & output, bool bForceRender, bool bSaveDefault); }; #if MATROSKA_VERSION >= 2 diff --git a/src/KaxSemantic.cpp b/src/KaxSemantic.cpp index cab1ac2..2da563b 100644 --- a/src/KaxSemantic.cpp +++ b/src/KaxSemantic.cpp @@ -828,11 +828,6 @@ filepos_t KaxEncryptedBlock::RenderData(IOCallback & /* output */, bool /* bForc 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; -} - filepos_t KaxTrackOffset::RenderData(IOCallback & /* output */, bool /* bForceRender */, bool /* bSaveDefault */) { assert(false); // no you are not allowed to use this element ! return 0;