summaryrefslogtreecommitdiff
path: root/source.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2012-04-13 19:14:59 +0200
committerJochen Dolze <vdr@dolze.de>2012-04-13 19:14:59 +0200
commitc2fa8e301d8266225ffcd735cd120bc4a1ffd234 (patch)
treead5648e1a154b16a407c8ffeb36b26c6e14fdff9 /source.cpp
parent38dc897af5dc53fba5ce21a5aad55a6454effea5 (diff)
downloadvdr-plugin-xmltv2vdr-c2fa8e301d8266225ffcd735cd120bc4a1ffd234.tar.gz
vdr-plugin-xmltv2vdr-c2fa8e301d8266225ffcd735cd120bc4a1ffd234.tar.bz2
Fixed segfault in EPGTimer thread
Fixed handling error in EpgHandler
Diffstat (limited to 'source.cpp')
-rw-r--r--source.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source.cpp b/source.cpp
index 2ce4360..f873c82 100644
--- a/source.cpp
+++ b/source.cpp
@@ -127,8 +127,8 @@ cEPGSource::cEPGSource(const char *Name, const char *ConfDir, const char *EPGFil
if (strcmp(Name,EITSOURCE))
{
ready2parse=ReadConfig();
- parse=new cParse(this, Maps);
- import=new cImport(this,Maps,Texts);
+ parse=new cParse(EPGFile,this, Maps);
+ import=new cImport(EPGFile,Maps,Texts);
Dlog("is%sready2parse",(ready2parse && parse) ? " " : " not ");
}
else
@@ -424,7 +424,7 @@ int cEPGSource::ReadOutput(char *&result, size_t &l)
int cEPGSource::Import(cEPGExecutor &myExecutor)
{
Dlog("importing from db");
- return import->Process(myExecutor);
+ return import->Process(this,myExecutor);
}
int cEPGSource::Execute(cEPGExecutor &myExecutor)