summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-21 14:21:43 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-21 14:21:43 +0000
commit943904865ff0af25172c788601a585cf2cc590b4 (patch)
treeb38f15a0b0dbd6a4d0e8f2d02399c98de0734367 /cfg-mplayer.h
parent1526dc6cdf8b226c43600eefc6ce137d73dd1f74 (diff)
downloadmpv-943904865ff0af25172c788601a585cf2cc590b4.tar.bz2
mpv-943904865ff0af25172c788601a585cf2cc590b4.tar.xz
Forced subtitles patch by Arne Driescher <driescher@mpi-magdeburg.mpg.de>
For a given subtitle language you can now chose to display only the forced subtitles. Defaut is set to "show all subtitles" so that current mplayer behaviour is not changed. For DVD: Use -forced_subs_only additionally to e.g. -slang en if you are only interested in the forced subtitles. For VobSub: The idx file is now parsed for the "forced subs: ON/OFF" tag and used according to its settings. Key: You can toggle the display of forced subtitles by pressing "F" (upper case letter). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10918 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 243fdaa8ad..2d2fdc4510 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -347,6 +347,7 @@ m_option_t mplayer_opts[]={
// these should be moved to -common, and suppot in mencoder too
{"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
{"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
+ {"forcedsubsonly", &forced_subs_only,CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},