Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the TrackEntry\Language mandatory
Following the bug/inconsistency found in EBML [1] it might be better to make the track language mandatory. It will give better past/present compatibility. In light of the next Track Selection explanation it's also vital to know the language when you have more than one audio/subtitle track. This may be a problem for video tracks that were not mandatory and technically didn't have a defined language. The flag does make sense though, even for video. For example some text on the screen may appear differently between languages. This change will turn every track of every file that doesn't have this value set assume it's in English. That's probably what any system dealing with track selection is already doing anyway given it was the official default value. [1] ietf-wg-cellar/ebml-specification#394
- Loading branch information