summaryrefslogtreecommitdiff
path: root/eepg.c
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2018-08-20 10:12:57 +0200
committerDimitar Petrovski <dimeptr@gmail.com>2018-08-20 10:12:57 +0200
commitfde4ca50a0f8887aec1ab17ab2fb368a2dcc71bd (patch)
tree3e566e768dfa8300d7abf778b8c05dc51fe1e340 /eepg.c
parentca0c9dda448ffe0cd71e85cbc5b1f9c10203e1ad (diff)
downloadvdr-plugin-eepg-fde4ca50a0f8887aec1ab17ab2fb368a2dcc71bd.tar.gz
vdr-plugin-eepg-fde4ca50a0f8887aec1ab17ab2fb368a2dcc71bd.tar.bz2
try to fix race conditions in 2.4. leave channel linking to VDR
Diffstat (limited to 'eepg.c')
-rw-r--r--eepg.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/eepg.c b/eepg.c
index b319a46..f8ebb30 100644
--- a/eepg.c
+++ b/eepg.c
@@ -2917,7 +2917,7 @@ void cFilterEEPG::ProccessContinuous(u_short Pid, u_char Tid, int Length, const
{
//0x39 Viasat, 0x0300 Dish Network EEPG, 0x0441 Bell ExpressVU EEPG
LogD(4, prep("Pid: 0x%02x Tid: %d Length: %d"), Pid, Tid, Length);
-#if APIVERSNUM >= 20300
+/*#if APIVERSNUM >= 20300
LOCK_CHANNELS_WRITE;
LOCK_SCHEDULES_WRITE;
// cStateKey SchedulesStateKey;
@@ -2925,12 +2925,12 @@ void cFilterEEPG::ProccessContinuous(u_short Pid, u_char Tid, int Length, const
#else
cSchedulesLock SchedulesLock(true, 10);
cSchedules *Schedules = (cSchedules*)(cSchedules::Schedules(SchedulesLock));
-#endif
+#endif*/
//Look for other satelite positions only if Dish/Bell ExpressVU for the moment hardcoded pid check
- if(Channels && Schedules)
- SI::cEIT2 EIT(Channels, Schedules, Source(), Tid, Data, Format, Pid == EIT_PID);
+ //if(Channels && Schedules)
+ SI::cEIT2 EIT(/*Channels, Schedules,*/ Source(), Tid, Data, Format, Pid == EIT_PID);
-#if APIVERSNUM < 20300
+#if APIVERSNUM < 20300 //TODO
else//cEIT EIT (Schedules, Source (), Tid, Data);
{
// If we don't get a write lock, let's at least get a read lock, so