When multiple audio streams and forced subtitles available, select forced subtitles based on selected language
This is somewhere in-between a bug report and a feature request.
Background
I have a video with these streams packed in the container (sample included):
- Video stream
- Audio stream 1: English
- Audio stream 2: French
- Subtitle stream 1: English, default: no, forced: yes
- Subtitle stream 2: English, default: no, forced: no
- Subtitle stream 3: French, default: no, forced: yes
- Subtitle stream 4: French, default: no, forced: no
In my video, English is the original language, French is dubbed. The forced subtitles are included because somewhere in the movie a language is spoken other than English or French.
Current behaviour
When I change the playback language from English to French, the active forced subtitle is not changed accordingly
Expected behaviour
When I change the language from English to French, the active forced subtitle is changed from the English one to the French one. This would be according to Matroska Specifications:
When there are multiple "forced" tracks, the player should decide on the language of the forced flag or use the default flag if no track matches the use languages.
I hope this can be fixed/implemented!