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 /setup_menu.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 'setup_menu.c')
-rw-r--r-- | setup_menu.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/setup_menu.c b/setup_menu.c index 5f0a1176..47573eb0 100644 --- a/setup_menu.c +++ b/setup_menu.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: setup_menu.c,v 1.58 2008-04-29 12:44:25 phintuka Exp $ + * $Id: setup_menu.c,v 1.59 2008-06-11 23:08:44 phintuka Exp $ * */ @@ -951,6 +951,13 @@ void cMenuSetupOSD::Set(void) Add(new cMenuEditStraI18nItem(tr("External subtitle size"), &newconfig.extsub_size, SUBTITLESIZE_count, xc.s_subtitleSizes)); +#if VDRVERSNUM >= 10510 + Add(new cMenuEditBoolItem(tr("DVB subtitle decoder"), + &newconfig.dvb_subtitles, + "VDR", + "frontend")); +#endif + if(current<1) current=1; /* first item is not selectable */ SetCurrent(Get(current)); //SetCurrent(Get(1)); @@ -1024,6 +1031,8 @@ void cMenuSetupOSD::Store(void) SetupStore("OSD.SpuLang2", xc.spu_lang[2]); SetupStore("OSD.SpuLang3", xc.spu_lang[3]); #endif + SetupStore("OSD.DvbSubtitles", xc.dvb_subtitles); + Setup.Save(); } |