aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-ttxtsubs/files/patch-ttxtsubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vdr-plugin-ttxtsubs/files/patch-ttxtsubs.c')
-rw-r--r--multimedia/vdr-plugin-ttxtsubs/files/patch-ttxtsubs.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/multimedia/vdr-plugin-ttxtsubs/files/patch-ttxtsubs.c b/multimedia/vdr-plugin-ttxtsubs/files/patch-ttxtsubs.c
deleted file mode 100644
index f622abc6255b..000000000000
--- a/multimedia/vdr-plugin-ttxtsubs/files/patch-ttxtsubs.c
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/ttxtsubs.c
-+++ b/ttxtsubs.c
-@@ -119,6 +119,7 @@ class cPluginTtxtsubs : public cPlugin,
- 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(c
-
- cMenuSetupTtxtsubs::~cMenuSetupTtxtsubs(void)
- {
--
-+ if(mTtxtsubs) {
-+ mTtxtsubs->Reload();
-+ }
- if(mDoStore) {
- Store();
- // Setup.Save(); // Can't get it to write to conf file, menu item disabled.