summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY4
-rw-r--r--ttxtsubs.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index e54733f..2a74bbc 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,10 @@
VDR Plugin 'ttxtsubs' Revision History
--------------------------------------
+2011-xx-xx: Version 0.2.3
+- Made changes in font settings be applied instantly, without the need to
+ change the channel (patch provided by Rolf Ahrenberg)
+
2010-05-08: Version 0.2.2
- Fixed channel retune triggering in VDR patch and updated patch to 1.7.14
(Dropped 1.7.12 and 1.7.13 patch)
diff --git a/ttxtsubs.c b/ttxtsubs.c
index 1faf0c3..175d26e 100644
--- a/ttxtsubs.c
+++ b/ttxtsubs.c
@@ -119,6 +119,7 @@ class cPluginTtxtsubs : public cPlugin, public cStatus, public cVDRTtxtsubsHookL
public:
cPluginTtxtsubs(void);
virtual ~cPluginTtxtsubs();
+ void Reload(void) { StopTtxt(); StartTtxtPlay(0x000); }
// -- cPlugin
virtual const char *Version(void) { return VERSION; }
@@ -566,7 +567,9 @@ cMenuSetupTtxtsubs::cMenuSetupTtxtsubs(cPluginTtxtsubs *ttxtsubs, int doStore)
cMenuSetupTtxtsubs::~cMenuSetupTtxtsubs(void)
{
-
+ if(mTtxtsubs) {
+ mTtxtsubs->Reload();
+ }
if(mDoStore) {
Store();
// Setup.Save(); // Can't get it to write to conf file, menu item disabled.