summaryrefslogtreecommitdiff
path: root/eepg.c
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2012-06-03 20:24:00 (GMT)
committerDimitar Petrovski <dimeptr@gmail.com>2012-06-03 20:24:00 (GMT)
commitf99c11b6335c28204d0e3dbf8ebfd287279d2939 (patch)
tree5230d6afd73b2357af3bac0d6b288d161bba0859 /eepg.c
parent1e5c78ae3b461343f87d49210116c20d5203ca7a (diff)
downloadvdr-plugin-eepg-f99c11b6335c28204d0e3dbf8ebfd287279d2939.tar.gz
vdr-plugin-eepg-f99c11b6335c28204d0e3dbf8ebfd287279d2939.tar.bz2
fix wrong conflict resolution
modify the long events dispose logic
Diffstat (limited to 'eepg.c')
-rw-r--r--eepg.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/eepg.c b/eepg.c
index 3fce100..1361b72 100644
--- a/eepg.c
+++ b/eepg.c
@@ -1368,6 +1368,15 @@ void cFilterEEPG::WriteToSchedule (tChannelID channelID, cSchedules* pSchedules,
}
if (ps && newEvent)
ps->AddEvent (newEvent);
+
+ EquivHandler->updateEquivalent(pSchedules, channelID, Event);
+
+ if (!ps) {
+ //the event is not send to VDR so it has to be deleted.
+ delete Event;
+ Event = NULL;
+ }
+
//newEvent->FixEpgBugs (); causes segfault
}
/* else