-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assume values not found in WebM have their default value #278
Conversation
38ef7d2
to
28d641d
Compare
WebM doesn't use all our elements but sometimes they are implied even though they don't define it. For example ContentEncodingOrder. The elements must not be in WebM files (for compliance) but a parser may need the actual value (of ContentEncodingOrder) to make any sense. So we assume elements have their default values if they are not found. If this is too loose, we may have to list the elements not in WebM but which default value should be used.
If not the presence of a (possibly empty) element may signal something, and that not compatible with what is found in WebM.
For the record |
The problem that this issue is about not only exists between closely related |
Technically So I think we should drop the "webm" attribute of the EBML Schema (which is not a valid attribute anyway) and keep on for WebM, which we may never use. |
WebM doesn't use all our elements but sometimes they are implied even though
they don't define it. For example ContentEncodingOrder.
The elements must not be in WebM files (for compliance) but a parser may need
the actual value (of ContentEncodingOrder) to make any sense. So we assume
elements have their default values if they are not found.
If this is too loose, we may have to list the elements not in WebM but which
default value should be used.