]> granicus.if.org Git - libmatroska/commitdiff
Allow writing TrackTimecodeScale
authorSteve Lhomme <robux4@ycbcr.xyz>
Sun, 21 Jun 2020 09:01:13 +0000 (11:01 +0200)
committerSteve Lhomme <robux4@ycbcr.xyz>
Sun, 21 Jun 2020 09:01:27 +0000 (11:01 +0200)
TrackTimestampScale/TrackTimecodeScale was allowed until Matroska v3 so it
should be possible to remux files with the value.

matroska/KaxSemantic.h
src/KaxSemantic.cpp

index 65084fbe0eb7746f683e91fdd43c79d64ee77fbb..757a211afcc99bdbb00f98d0c32a34c888211319 100644 (file)
@@ -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
index cab1ac2189e0cec4ddac8a96308d1ffc9a2b12b9..2da563b43e0e427b3fb4f6b669596d69b5fcf76e 100644 (file)
@@ -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;