]> granicus.if.org Git - libmatroska/commitdiff
do not write DivX FileUsed elements no-divx-fileused
authorSteve Lhomme <robux4@ycbcr.xyz>
Sat, 1 Jun 2019 06:53:48 +0000 (08:53 +0200)
committerSteve Lhomme <robux4@ycbcr.xyz>
Sat, 1 Jun 2019 06:57:53 +0000 (08:57 +0200)
they are deprecated and not well documented

matroska/KaxSemantic.h
src/KaxSemantic.cpp

index 65084fbe0eb7746f683e91fdd43c79d64ee77fbb..65767958543e5c4a17a4874dcff30e19dd2e0011 100644 (file)
@@ -88,9 +88,13 @@ DECLARE_MKX_MASTER(KaxChapterTranslate)
 
 
 DECLARE_MKX_UINTEGER(KaxChapterTranslateEditionUID)
+public:
+  filepos_t RenderData(IOCallback & output, bool bForceRender, bool bSaveDefault);
 };
 
 DECLARE_MKX_UINTEGER(KaxChapterTranslateCodec)
+public:
+  filepos_t RenderData(IOCallback & output, bool bForceRender, bool bSaveDefault);
 };
 
 DECLARE_MKX_BINARY (KaxChapterTranslateID)
index cab1ac2189e0cec4ddac8a96308d1ffc9a2b12b9..294c69443040d264ea18e52937c3949b6748938d 100644 (file)
@@ -893,4 +893,14 @@ filepos_t KaxFileReferral::RenderData(IOCallback & /* output */, bool /* bForceR
   return 0;
 }
 
+filepos_t KaxFileUsedStartTime::RenderData(IOCallback & /* output */, bool /* bForceRender */, bool /* bSaveDefault */) {
+  assert(false); // no you are not allowed to use this element !
+  return 0;
+}
+
+filepos_t KaxFileUsedEndTime::RenderData(IOCallback & /* output */, bool /* bForceRender */, bool /* bSaveDefault */) {
+  assert(false); // no you are not allowed to use this element !
+  return 0;
+}
+
 END_LIBMATROSKA_NAMESPACE