Commit cb9edcbe authored by Steve Lhomme's avatar Steve Lhomme

mark TrackTimecodeScale as deprecated in the specs

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/foundation_src@855 a6f86f6d-0131-4f8e-9e7b-e335508773d5
parent 8de723f6
......@@ -280,7 +280,7 @@ static void OutputElement(SpecElement *elt, textwriter *TBody, table_extras *Ext
else
#endif
TextAttribEx(&Tr, T("id"), elt->Name, 0, TYPE_STRING);
if (!elt->MinVersion && !elt->MaxVersion && !elt->InWebM)
if (elt->MaxVersion || (!elt->MinVersion && !elt->InWebM))
stprintf_s(IdString,TSIZEOF(IdString),T("version2"));
else if (elt->Level < 0)
stprintf_s(IdString,TSIZEOF(IdString),T("level1"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment