Skip to content
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

make ChapterDisplay use only one language at a time #514

Closed
wants to merge 1 commit into from

Conversation

robUx4
Copy link
Contributor

@robUx4 robUx4 commented May 30, 2021

Following the discussion in ietf-wg-cellar/ebml-specification#409
It could be assumed that English is always present because ChapLanguage is
mandatory and has a default value.

To avoid this interpretation we should have one language (and one IETF variant)
per ChapterDisplay item. We already have to use many ones per language. The merge
of different values because they have the same value is unlikely (but it may
exist in the real world).

Following the discussion in ietf-wg-cellar/ebml-specification#409
It could be assumed that English is always present because ChapLanguage is
mandatory and has a default value.

To avoid this interpretation we should have one language (and one IETF variant)
per ChapterDisplay item. We already have to use many ones per language. The merge
of different values because they have the same value is unlikely (but it may
exist in the real world).
@robUx4 robUx4 added bug clarifications spec_main Main Matroska spec document target labels May 30, 2021
@robUx4
Copy link
Contributor Author

robUx4 commented May 30, 2021

libavformat doesn't use the element either when reading and always writes a single "und" value.

libwebm reads a single value (possibly leaking data if more than one value is found) and writes a single value.

@hubblec4
Copy link
Contributor

hubblec4 commented May 30, 2021

No this is not a bug and I totally disagree with this change.

Copy link
Contributor

@mbunkus mbunkus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've made my objections known in ietf-wg-cellar/ebml-specification#409 where we should keep the discussion about what to do until we reach consensus, I think.

@robUx4
Copy link
Contributor Author

robUx4 commented Jun 6, 2021

OK with allowing multiple values although some clarifications are needed on the EBML side.

@robUx4 robUx4 closed this Jun 6, 2021
@robUx4 robUx4 deleted the single-chapterdisplay-language branch June 6, 2021 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug clarifications spec_main Main Matroska spec document target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants