diff options
author | phintuka <phintuka> | 2007-06-12 19:28:37 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-06-12 19:28:37 +0000 |
commit | 82a9d827975d33525f3b04c94d6ad5610f26918e (patch) | |
tree | be8f54f3aa39aa48c5099f7e5a4ffd34deac49d1 /xine_input_vdr.c | |
parent | e55d6f065b9e241033c19461c9752e7d2edf5bee (diff) | |
download | xineliboutput-82a9d827975d33525f3b04c94d6ad5610f26918e.tar.gz xineliboutput-82a9d827975d33525f3b04c94d6ad5610f26918e.tar.bz2 |
Setup option to change external subtitle (.sub/.srt) font size
Diffstat (limited to 'xine_input_vdr.c')
-rw-r--r-- | xine_input_vdr.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index 42adaee0..d455b50e 100644 --- a/xine_input_vdr.c +++ b/xine_input_vdr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_input_vdr.c,v 1.85 2007-06-09 15:24:44 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.86 2007-06-12 19:28:37 phintuka Exp $ * */ @@ -3683,6 +3683,16 @@ static int vdr_plugin_parse_control(input_plugin_t *this_gen, const char *cmd) err = CONTROL_PARAM_ERROR; } + } else if(!strncasecmp(cmd, "EXTSUBSIZE ", 11)) { + int size = 0; + if(1 == sscanf(cmd, "EXTSUBSIZE %d", &size)) + /* size of separate subtitles : + -1 = xine default + 0...6 = { tiny small normal large very large huge } */ + stream->xine->config->update_num(stream->xine->config, "subtitles.separate.subtitle_size", size); + else + err = CONTROL_PARAM_ERROR; + } else if(!strncasecmp(cmd, "GRAB ", 5)) { handle_control_grab(this, cmd); |