diff options
author | phintuka <phintuka> | 2008-06-11 23:08:44 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-06-11 23:08:44 +0000 |
commit | 138ed7ce15950733fc40b4b3ec83fe06111900a6 (patch) | |
tree | f31c31d5470c164c302ef3e47256b4ec95019ef2 /config.c | |
parent | 3c1f5486c2aa6776c821b539bbdd2e9f84f51a98 (diff) | |
download | xineliboutput-138ed7ce15950733fc40b4b3ec83fe06111900a6.tar.gz xineliboutput-138ed7ce15950733fc40b4b3ec83fe06111900a6.tar.bz2 |
Added an option to use xine-lib for DVB subtitles decoding
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.c,v 1.65 2008-05-20 10:06:20 phintuka Exp $ + * $Id: config.c,v 1.66 2008-06-11 23:08:44 phintuka Exp $ * */ @@ -481,6 +481,7 @@ config_t::config_t() { strn0cpy(spu_lang[3], "" , sizeof(spu_lang[3])); #endif extsub_size = -1; + dvb_subtitles = 0; alpha_correction = 0; alpha_correction_abs = 0; @@ -720,6 +721,7 @@ bool config_t::SetupParse(const char *Name, const char *Value) else if (!strcasecmp(Name, "OSD.SpuLang3")) STRN0CPY(spu_lang[3], Value); #endif else if (!strcasecmp(Name, "OSD.ExtSubSize")) extsub_size = atoi(Value); + else if (!strcasecmp(Name, "OSD.DvbSubtitles")) dvb_subtitles = atoi(Value); else if (!strcasecmp(Name, "RemoteMode")) remote_mode = atoi(Value); else if (!strcasecmp(Name, "Remote.ListenPort")) listen_port = atoi(Value); |