summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-18 15:50:24 +0200
committerwm4 <wm4@nowhere>2012-10-12 10:10:31 +0200
commit1a5a7a49293c2c70a5caf9d51dad7bd5aa938471 (patch)
treefd114357155be3267e528d32715ebc7f227d4081 /mplayer.c
parent69ce4591d09f1fda85c6a71d452d26a2712cda4e (diff)
downloadmpv-1a5a7a49293c2c70a5caf9d51dad7bd5aa938471.tar.bz2
mpv-1a5a7a49293c2c70a5caf9d51dad7bd5aa938471.tar.xz
options: accept "yes" and "no" only for flags
This removes the alternative values like "off", "0", "false" etc., and also the non-English versions of these. This is done for general consistency. It's better to have a single way of doing things when multiple ways don't add singificant value. Also update some choices for consistency.
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 376b243d58..4e59dd397e 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2253,7 +2253,7 @@ int reinit_video_chain(struct MPContext *mpctx)
&vf_info_ass, NULL
};
char *vf_arg[] = {
- "auto", "1", NULL
+ "auto", "yes", NULL
};
int retcode = 0;
struct vf_instance *vf_ass = vf_open_plugin_noerr(opts, libass_vfs,