[Matroska-devel] Several (minor) issues or underspecified areas in the MKV spec

Moritz Bunkus moritz at bunkus.org
Fri Nov 20 19:56:27 CET 2015


> How should mandatory master elements be handled if they are not
> present in the bitstream?

The Matroska spec notes[1] deal with this explicitly. Quote:

"If the upper element is not present or assumed, then the element cannot
be assumed."


> Consider, for example, the ContentEncoding element. It's mandatory,
> and its children have appropriate default values such that a
> ContentEncoding element of zero size is perfectly fine. Now, taking
> things a step further, could this ContentEncoding element be
> completely removed from the bitstream? Or is it required to be present
> in the bitstream?

If it is absent then all of its children must be assumed to be absent as
well. And that's how today's parsers work, too.

Therefore EBML should specify it the same way.

Kind regards,

[1]  http://www.matroska.org/technical/specs/notes.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20151120/bb09b7f6/attachment.sig>

More information about the Matroska-devel mailing list