summaryrefslogtreecommitdiff
path: root/txtrecv.c
diff options
context:
space:
mode:
authorTobias Grimm <tobias@e-tobi.loc>2008-12-02 22:32:09 +0100
committerTobias Grimm <tobias@e-tobi.loc>2008-12-02 23:07:31 +0100
commit91fdd60185c41dfd1c75fe0f0490d01f4c9d7074 (patch)
tree1e25d0c374b773f210fb0f7205761d04243f4ac8 /txtrecv.c
parent08e1b641a8c9db675d79759c450f9827a8d06a31 (diff)
downloadvdr-plugin-osdteletext-91fdd60185c41dfd1c75fe0f0490d01f4c9d7074.tar.gz
vdr-plugin-osdteletext-91fdd60185c41dfd1c75fe0f0490d01f4c9d7074.tar.bz2
Switch to VDR 1.6.0:
- Use APIVERSION instead of VDRVERSION as the library file versio - Support for changed cReceiver API in vdr >= 1.5.0 - Switch to gettext translation
Diffstat (limited to 'txtrecv.c')
-rw-r--r--txtrecv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/txtrecv.c b/txtrecv.c
index af76a3a..e7898e1 100644
--- a/txtrecv.c
+++ b/txtrecv.c
@@ -692,11 +692,14 @@ void cTxtStatus::ForceSuspending(bool onOrOff) {
*/
cTxtReceiver::cTxtReceiver(int TPid, tChannelID chan)
-#if VDRVERSNUM >= 10319
+#if VDRVERSNUM >= 10500
+ : cReceiver(chan, -1, TPid),
+#elif VDRVERSNUM >= 10319
: cReceiver(0, -1, TPid),
#else
: cReceiver(0, -1, 1, TPid),
#endif
+ cThread("osdteletext-receiver"),
chan(chan), TxtPage(0), buffer((188+60)*75), running(false)
{
Storage::instance()->prepareDirectory(chan);