[Matroska-devel] Several (minor) issues or underspecified areas in the MKV spec
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 deal with this explicitly. Quote:
"If the upper element is not present or assumed, then the element cannot
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the Matroska-devel