[MPlayer-dev-eng] [PATCH] select audio/sub tracks based on 'default' attribute

Sergey Malkovsky mplayer.win32 at gmail.com
Wed Apr 30 14:52:47 CEST 2008


> I think the problem is not with 'default' tracks, but with subtitle selection
>  method as a whole.

Agreed.

>  Having priorities would be good, there is even no need for an option, the
>  following seems ok for most uses:
>  external -> internal -> auto-external.
>  It surely makes sense to display the subtitles user specified with -sub first.

IMHO, highest priority must be set for external subtitles (chosen by
-sub options). If there is no such option,  player must show us
auto-external subs (if there are any). And only after that player must
check -slang option. If it presents and mkv file have subtitles with
chosen language id, player must show chosen subtitles. Internal
subtitles that have "default" mark must be at the least.

In the current version of player "default" internal mkv subtitles have
highest priority.

I think - if user provides no any language id, or internal sub track
language id is not equal to provided, player shouldn't show any
"default" internal sub (or option to disable mkv subs at all must be
added  first).



More information about the MPlayer-dev-eng mailing list