diff options
author | Tobias Grimm <tobias@e-tobi.loc> | 2009-04-23 09:34:19 +0200 |
---|---|---|
committer | Tobias Grimm <tobias@e-tobi.loc> | 2009-04-23 09:34:19 +0200 |
commit | 104dd4cec36bdd736526e35b3457dd3160fedd13 (patch) | |
tree | 6ef43d3eae070317f3639f7ab91a28ffce1b7a9a | |
parent | 6a971db6fc1c7aa6eec4f0f852c4209bfd649b82 (diff) | |
download | vdr-plugin-ttxtsubs-104dd4cec36bdd736526e35b3457dd3160fedd13.tar.gz vdr-plugin-ttxtsubs-104dd4cec36bdd736526e35b3457dd3160fedd13.tar.bz2 |
After replaying, reset the last channel variable and trigger a channel switch to
reinitialize the live ttxtsubs display.
Patch provided by Rolf Ahrenberg
-rw-r--r-- | ttxtsubs.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -461,8 +461,10 @@ void cPluginTtxtsubs::Replaying(const cControl *Control, const char *Name, const StopTtxt(); if(On) StartTtxtPlay(mPage); - // XXX this page number is just a fallback for old recordings which - // don't have a index page + else { + lastc=0; + sem_post(&chswitchwait); + } } void cPluginTtxtsubs::PlayerTeletextData(uint8_t *p, int length) |