summaryrefslogtreecommitdiff
path: root/xine_input_vdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'xine_input_vdr.c')
-rw-r--r--xine_input_vdr.c12
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);