[MPlayer-cvslog] r29730 - in trunk: cfg-common-opts.h mencoder.c mplayer.c

The Wanderer wanderer at fastmail.fm
Mon Sep 28 16:13:29 CEST 2009


On 09/28/2009 07:32 AM, reimar wrote:

> Author: reimar
> Date: Mon Sep 28 13:32:27 2009
> New Revision: 29730
> 
> Log:
> Add a -nosub option that allows disabling auto-selected subtitles as e.g. the
> mkv demuxer supports.

Could this be extended (or, for that matter, another option be added) to
allow disabling previously-explicitly-selected subtitles?

Since the large majority of DVDs I watch are anime, I have "slang=en" in
~/.mplayer/config. Unfortunately, this means that when I do watch a
non-anime DVD (or non-DVD file) which happens to have English subtitles,
they will be displayed even though I don't want them.

Like other config options, 'slang' can of course be overridden on the
command line, but I haven't been able to find any way to tell it "don't
display subtitles at all". The only workaround I know of is to specify a
valid subtitle language which doesn't happen to exist on this particular
DVD, and of course there's no single language which will be guaranteed
to work for all cases.

This option seems like it could be the correct one to disable subtitles
that way, syntactically speaking, but from a quick test it doesn't do
that. Is there a reason why it shouldn't?

If this option wouldn't be appropriate, the theoretically correct
fallback would probably be to add an explicit fake language code to
-slang (and for that matter probably -alang) to let the user say "don't
accept any stream of this type".

-- 
       The Wanderer is probably going to feel stupid soon

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.


More information about the MPlayer-cvslog mailing list