Mercurial > mplayer.hg
comparison input/input.c @ 10917:d45870f67728
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).
author | attila |
---|---|
date | Sun, 21 Sep 2003 14:21:43 +0000 |
parents | bbdaa93c469e |
children | 85e503ddf65f |
comparison
equal
deleted
inserted
replaced
10916:c36db88bfbc4 | 10917:d45870f67728 |
---|---|
91 { MP_CMD_TV_SET_BRIGHTNESS, "tv_set_brightness", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, | 91 { MP_CMD_TV_SET_BRIGHTNESS, "tv_set_brightness", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, |
92 { MP_CMD_TV_SET_CONTRAST, "tv_set_contrast", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, | 92 { MP_CMD_TV_SET_CONTRAST, "tv_set_contrast", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, |
93 { MP_CMD_TV_SET_HUE, "tv_set_hue", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, | 93 { MP_CMD_TV_SET_HUE, "tv_set_hue", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, |
94 { MP_CMD_TV_SET_SATURATION, "tv_set_saturation", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, | 94 { MP_CMD_TV_SET_SATURATION, "tv_set_saturation", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, |
95 #endif | 95 #endif |
96 { MP_CMD_SUB_FORCED_ONLY, "forced_subs_only", 0, { {-1,{0}} } }, | |
96 #ifdef HAS_DVBIN_SUPPORT | 97 #ifdef HAS_DVBIN_SUPPORT |
97 { MP_CMD_DVB_SET_CHANNEL, "dvb_set_channel", 1, { { MP_CMD_ARG_INT, {0}}, {-1,{0}} }}, | 98 { MP_CMD_DVB_SET_CHANNEL, "dvb_set_channel", 1, { { MP_CMD_ARG_INT, {0}}, {-1,{0}} }}, |
98 #endif | 99 #endif |
99 { MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {-1,{0}} } }, | 100 { MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {-1,{0}} } }, |
100 { MP_CMD_SCREENSHOT, "screenshot", 0, { {-1,{0}} } }, | 101 { MP_CMD_SCREENSHOT, "screenshot", 0, { {-1,{0}} } }, |
298 { { 'r', 0 }, "sub_pos -1" }, | 299 { { 'r', 0 }, "sub_pos -1" }, |
299 { { 't', 0 }, "sub_pos +1" }, | 300 { { 't', 0 }, "sub_pos +1" }, |
300 { { 'a', 0 }, "sub_alignment" }, | 301 { { 'a', 0 }, "sub_alignment" }, |
301 { { 'v', 0 }, "sub_visibility" }, | 302 { { 'v', 0 }, "sub_visibility" }, |
302 { { 'j', 0 }, "vobsub_lang" }, | 303 { { 'j', 0 }, "vobsub_lang" }, |
304 { { 'F', 0 }, "forced_subs_only" }, | |
303 #ifdef USE_EDL | 305 #ifdef USE_EDL |
304 { { 'i', 0 }, "edl_mark" }, | 306 { { 'i', 0 }, "edl_mark" }, |
305 #endif | 307 #endif |
306 #ifdef USE_TV | 308 #ifdef USE_TV |
307 { { 'h', 0 }, "tv_step_channel 1" }, | 309 { { 'h', 0 }, "tv_step_channel 1" }, |