diff options
author | etobi <git@e-tobi.net> | 2010-02-13 14:42:30 +0100 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2010-03-06 12:07:48 +0100 |
commit | 404405554b54dcd17b3ee70484aebf65f668b3fc (patch) | |
tree | e26e9f8245e42fcac5ee51ae9e00fdb00047ffa7 | |
parent | 2e1ffe9283833fdbe211291f794b8ee2576421de (diff) | |
download | vdr-patches-404405554b54dcd17b3ee70484aebf65f668b3fc.tar.gz vdr-patches-404405554b54dcd17b3ee70484aebf65f668b3fc.tar.bz2 |
Added setup option to enable teletext subtitle recording
-rw-r--r-- | MANUAL | 3 | ||||
-rw-r--r-- | config.c | 3 | ||||
-rw-r--r-- | config.h | 1 | ||||
-rw-r--r-- | menu.c | 1 | ||||
-rw-r--r-- | po/ca_ES.po | 3 | ||||
-rw-r--r-- | po/cs_CZ.po | 3 | ||||
-rw-r--r-- | po/da_DK.po | 3 | ||||
-rw-r--r-- | po/de_DE.po | 3 | ||||
-rw-r--r-- | po/el_GR.po | 3 | ||||
-rw-r--r-- | po/es_ES.po | 3 | ||||
-rw-r--r-- | po/et_EE.po | 3 | ||||
-rw-r--r-- | po/fi_FI.po | 3 | ||||
-rw-r--r-- | po/fr_FR.po | 3 | ||||
-rw-r--r-- | po/hr_HR.po | 3 | ||||
-rw-r--r-- | po/hu_HU.po | 3 | ||||
-rw-r--r-- | po/it_IT.po | 3 | ||||
-rw-r--r-- | po/lt_LT.po | 3 | ||||
-rw-r--r-- | po/nl_NL.po | 3 | ||||
-rw-r--r-- | po/nn_NO.po | 3 | ||||
-rw-r--r-- | po/pl_PL.po | 3 | ||||
-rw-r--r-- | po/pt_PT.po | 3 | ||||
-rw-r--r-- | po/ro_RO.po | 3 | ||||
-rw-r--r-- | po/ru_RU.po | 3 | ||||
-rw-r--r-- | po/sk_SK.po | 3 | ||||
-rw-r--r-- | po/sl_SI.po | 3 | ||||
-rw-r--r-- | po/sv_SE.po | 3 | ||||
-rw-r--r-- | po/tr_TR.po | 3 | ||||
-rw-r--r-- | po/uk_UA.po | 3 | ||||
-rw-r--r-- | po/zh_CN.po | 3 | ||||
-rw-r--r-- | receiver.c | 2 |
30 files changed, 84 insertions, 1 deletions
@@ -721,6 +721,9 @@ Version 1.6 background transparency. By default the values as broadcast are used. + Record Teletext Subtitles = no + If set to 'yes', teletext subtitles will be recorded. + LNB: SLOF = 11700 The switching frequency (in MHz) between low and @@ -333,6 +333,7 @@ cSetup::cSetup(void) MarginStop = 10; AudioLanguages[0] = -1; DisplaySubtitles = 0; + SupportTeletext = 0; SubtitleLanguages[0] = -1; SubtitleOffset = 0; SubtitleFgTransparency = 0; @@ -521,6 +522,7 @@ bool cSetup::Parse(const char *Name, const char *Value) else if (!strcasecmp(Name, "MarginStop")) MarginStop = atoi(Value); else if (!strcasecmp(Name, "AudioLanguages")) return ParseLanguages(Value, AudioLanguages); else if (!strcasecmp(Name, "DisplaySubtitles")) DisplaySubtitles = atoi(Value); + else if (!strcasecmp(Name, "SupportTeletext")) SupportTeletext = atoi(Value); else if (!strcasecmp(Name, "SubtitleLanguages")) return ParseLanguages(Value, SubtitleLanguages); else if (!strcasecmp(Name, "SubtitleOffset")) SubtitleOffset = atoi(Value); else if (!strcasecmp(Name, "SubtitleFgTransparency")) SubtitleFgTransparency = atoi(Value); @@ -614,6 +616,7 @@ bool cSetup::Save(void) Store("MarginStop", MarginStop); StoreLanguages("AudioLanguages", AudioLanguages); Store("DisplaySubtitles", DisplaySubtitles); + Store("SupportTeletext", SupportTeletext); StoreLanguages("SubtitleLanguages", SubtitleLanguages); Store("SubtitleOffset", SubtitleOffset); Store("SubtitleFgTransparency", SubtitleFgTransparency); @@ -235,6 +235,7 @@ public: int MarginStart, MarginStop; int AudioLanguages[I18N_MAX_LANGUAGES + 1]; int DisplaySubtitles; + int SupportTeletext; int SubtitleLanguages[I18N_MAX_LANGUAGES + 1]; int SubtitleOffset; int SubtitleFgTransparency, SubtitleBgTransparency; @@ -2780,6 +2780,7 @@ void cMenuSetupDVB::Setup(void) Add(new cMenuEditIntItem( tr("Setup.DVB$Subtitle foreground transparency"), &data.SubtitleFgTransparency, 0, 9)); Add(new cMenuEditIntItem( tr("Setup.DVB$Subtitle background transparency"), &data.SubtitleBgTransparency, 0, 10)); } + Add(new cMenuEditBoolItem(tr("Setup.DVB$Enable teletext support"), &data.SupportTeletext)); SetCurrent(Get(current)); Display(); diff --git a/po/ca_ES.po b/po/ca_ES.po index 40198f8..9ba7e30 100644 --- a/po/ca_ES.po +++ b/po/ca_ES.po @@ -934,6 +934,9 @@ msgstr "Transparncia primer pla subttols" msgid "Setup.DVB$Subtitle background transparency" msgstr "Transparncia fons subttols" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "Configuraci de l'LNB" diff --git a/po/cs_CZ.po b/po/cs_CZ.po index 63b5d1c..0c68400 100644 --- a/po/cs_CZ.po +++ b/po/cs_CZ.po @@ -932,6 +932,9 @@ msgstr "Prhlednost psma titulk" msgid "Setup.DVB$Subtitle background transparency" msgstr "Prhlednost pozad titulk" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/da_DK.po b/po/da_DK.po index 99af59b..fca4669 100644 --- a/po/da_DK.po +++ b/po/da_DK.po @@ -931,6 +931,9 @@ msgstr "Undertekst forgrundsgennemsigtighed" msgid "Setup.DVB$Subtitle background transparency" msgstr "Undertekst baggrundsgennemsigtighed" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/de_DE.po b/po/de_DE.po index 6181eb3..b385571 100644 --- a/po/de_DE.po +++ b/po/de_DE.po @@ -931,6 +931,9 @@ msgstr "Untertitel-Transparenz Vordergrund" msgid "Setup.DVB$Subtitle background transparency" msgstr "Untertitel-Transparenz Hintergrund" +msgid "Setup.DVB$Enable teletext support" +msgstr "Videotext-Untersttzung aktivieren" + msgid "LNB" msgstr "LNB" diff --git a/po/el_GR.po b/po/el_GR.po index 70f6e54..ffb73a0 100644 --- a/po/el_GR.po +++ b/po/el_GR.po @@ -931,6 +931,9 @@ msgstr "" msgid "Setup.DVB$Subtitle background transparency" msgstr "" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/es_ES.po b/po/es_ES.po index f78c8cb..5ce2238 100644 --- a/po/es_ES.po +++ b/po/es_ES.po @@ -932,6 +932,9 @@ msgstr "Transparencia primer plano subttulos" msgid "Setup.DVB$Subtitle background transparency" msgstr "Transparencia fondo subttulos" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/et_EE.po b/po/et_EE.po index 047a2f7..09e4b17 100644 --- a/po/et_EE.po +++ b/po/et_EE.po @@ -931,6 +931,9 @@ msgstr "Subtiitri lbipaistvus" msgid "Setup.DVB$Subtitle background transparency" msgstr "Subtiitri tausta lbipaistvus" +msgid "Setup.DVB$Enable teletext support" +msgstr "Teleteksti tugi" + msgid "LNB" msgstr "LNB" diff --git a/po/fi_FI.po b/po/fi_FI.po index 49af156..17c7003 100644 --- a/po/fi_FI.po +++ b/po/fi_FI.po @@ -934,6 +934,9 @@ msgstr "Tekstityksen lpinkyvyys" msgid "Setup.DVB$Subtitle background transparency" msgstr "Tekstityksen taustan lpinkyvyys" +msgid "Setup.DVB$Enable teletext support" +msgstr "Salli teksti-TV-tuki" + msgid "LNB" msgstr "LNB" diff --git a/po/fr_FR.po b/po/fr_FR.po index 7b23a5e..572902e 100644 --- a/po/fr_FR.po +++ b/po/fr_FR.po @@ -937,6 +937,9 @@ msgstr "Transparence de l'avant-plan" msgid "Setup.DVB$Subtitle background transparency" msgstr "Transparence du fond" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/hr_HR.po b/po/hr_HR.po index 56b1bd8..edb6fee 100644 --- a/po/hr_HR.po +++ b/po/hr_HR.po @@ -933,6 +933,9 @@ msgstr "Transparentnost titla" msgid "Setup.DVB$Subtitle background transparency" msgstr "Transparentnost pozadine titla" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/hu_HU.po b/po/hu_HU.po index 212d2fe..eefc7d7 100644 --- a/po/hu_HU.po +++ b/po/hu_HU.po @@ -934,6 +934,9 @@ msgstr "Felirat transzparencija" msgid "Setup.DVB$Subtitle background transparency" msgstr "Felirat htternek transzparencija" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/it_IT.po b/po/it_IT.po index ba7c57c..b2d5c3b 100644 --- a/po/it_IT.po +++ b/po/it_IT.po @@ -938,6 +938,9 @@ msgstr "Trasparenza sottotitoli" msgid "Setup.DVB$Subtitle background transparency" msgstr "Trasparenza sfondo sottotitoli" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/lt_LT.po b/po/lt_LT.po index acf2309..4beb77c 100644 --- a/po/lt_LT.po +++ b/po/lt_LT.po @@ -931,6 +931,9 @@ msgstr "Subtitrų priekinio vaizdo permatomumas" msgid "Setup.DVB$Subtitle background transparency" msgstr "Subtitrų fono permatomumas" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "Konverteris (LNB)" diff --git a/po/nl_NL.po b/po/nl_NL.po index 1e1d382..a25263e 100644 --- a/po/nl_NL.po +++ b/po/nl_NL.po @@ -935,6 +935,9 @@ msgstr "Transparantie voorgrond ondertiteling" msgid "Setup.DVB$Subtitle background transparency" msgstr "Transparantie achtergrond ondertiteling" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/nn_NO.po b/po/nn_NO.po index 11668c7..92fb487 100644 --- a/po/nn_NO.po +++ b/po/nn_NO.po @@ -932,6 +932,9 @@ msgstr "" msgid "Setup.DVB$Subtitle background transparency" msgstr "" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/pl_PL.po b/po/pl_PL.po index d1944cb..0e72f00 100644 --- a/po/pl_PL.po +++ b/po/pl_PL.po @@ -932,6 +932,9 @@ msgstr "Przerocze podtytuw: Przd" msgid "Setup.DVB$Subtitle background transparency" msgstr "Przerocze podtytuw: To" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/pt_PT.po b/po/pt_PT.po index 99d8168..f2aa111 100644 --- a/po/pt_PT.po +++ b/po/pt_PT.po @@ -931,6 +931,9 @@ msgstr "Transparncia de foreground das legendas" msgid "Setup.DVB$Subtitle background transparency" msgstr "Transparncia de background das legendas" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/ro_RO.po b/po/ro_RO.po index 31e6b17..380d4db 100644 --- a/po/ro_RO.po +++ b/po/ro_RO.po @@ -934,6 +934,9 @@ msgstr "Transparena prim-planului subtitrrii" msgid "Setup.DVB$Subtitle background transparency" msgstr "Transparena fundalului subtitrrii" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/ru_RU.po b/po/ru_RU.po index 0796c19..418ccdb 100644 --- a/po/ru_RU.po +++ b/po/ru_RU.po @@ -932,6 +932,9 @@ msgstr " " msgid "Setup.DVB$Subtitle background transparency" msgstr " " +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "" diff --git a/po/sk_SK.po b/po/sk_SK.po index f53c251..55fdf40 100644 --- a/po/sk_SK.po +++ b/po/sk_SK.po @@ -932,6 +932,9 @@ msgstr "Priehadnos psma titulkov" msgid "Setup.DVB$Subtitle background transparency" msgstr "Priehadnos pozadia titulkov" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/sl_SI.po b/po/sl_SI.po index 88858e5..6135157 100644 --- a/po/sl_SI.po +++ b/po/sl_SI.po @@ -932,6 +932,9 @@ msgstr "Transparentnost podnapisov" msgid "Setup.DVB$Subtitle background transparency" msgstr "Transparentnost ozadja podnapisov" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/sv_SE.po b/po/sv_SE.po index 1c5821b..870bc05 100644 --- a/po/sv_SE.po +++ b/po/sv_SE.po @@ -934,6 +934,9 @@ msgstr "Transparent frgrund textremsa" msgid "Setup.DVB$Subtitle background transparency" msgstr "Transparent bakgrund textremsa" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/tr_TR.po b/po/tr_TR.po index 763a6b6..6bf7f41 100644 --- a/po/tr_TR.po +++ b/po/tr_TR.po @@ -931,6 +931,9 @@ msgstr "Altyaz n effaflk" msgid "Setup.DVB$Subtitle background transparency" msgstr "Altyaz arka effaflk" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "LNB" diff --git a/po/uk_UA.po b/po/uk_UA.po index 2c080fe..da179a0 100644 --- a/po/uk_UA.po +++ b/po/uk_UA.po @@ -931,6 +931,9 @@ msgstr "Прозорість переднього плану субтитрів" msgid "Setup.DVB$Subtitle background transparency" msgstr "Прозорість заднього плану субтитрів" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "Конвертер" diff --git a/po/zh_CN.po b/po/zh_CN.po index 30d1094..f886ae1 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -934,6 +934,9 @@ msgstr "字幕前景透明度" msgid "Setup.DVB$Subtitle background transparency" msgstr "字幕背景透明度" +msgid "Setup.DVB$Enable teletext support" +msgstr "" + msgid "LNB" msgstr "切换器设置" @@ -83,7 +83,7 @@ bool cReceiver::SetPids(const cChannel *Channel) AddPids(Channel->Apids()) && AddPids(Channel->Dpids()) && AddPids(Channel->Spids()) && - AddPid(Channel->Tpid()); + (!Setup.SupportTeletext || AddPid(Channel->Tpid())); } return true; } |