Re: Question about mandatory entries
"Sebastian G. <bastik> via Matroska-users" <[email protected]> Mon, 14 Mar 2016 08:37:01 +0100
| Newsgroups | gmane.comp.multimedia.matroska.user |
|---|---|
| Message-ID | <[email protected]> |
14.03.2016, 00:06 Dan Hinsley via Matroska-users: > So if I look at the specifications at https://matroska.org/technical/specs/index.html, there are elements that are mandatory, that don't seem to be in most mkv files, and that mkvalidator doesn't call out. The reason for elements being not in matroksa files even though they are mandatory is that they have a default value. https://matroska.org/technical/specs/notes.html#Default_Values > For example, FlagEnabled, FlagForced and TrackTimecodeScale in the TrackEntry element. Are these really mandatory, and if not is there a better spec that says which elements are really mandatory? For example FlagForced has the default value of "0", which means it is not forced. If a muxer writes a file and it encounters a case where FlagForced is "0" it does not write it to the file. On the other hand it has to write it to the file if FlagForced is "1". Players have to treat mandatory elements as present with their default values if those elements are missing. If a mandatory element is present in a file that's what the player has to use instead of the default value. Mortiz and/or Steve can probably give more insight or could explain it more detailed. (And correct me if I said anything wrong) > Dan Sebastian _______________________________________________ Matroska-users mailing list [email protected] http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user