summaryrefslogtreecommitdiff
blob: 31447c7af4da2d31ed0cadbff05f32d3148e5197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: iptv-0.0.7/pidscanner.c
===================================================================
--- iptv-0.0.7.orig/pidscanner.c
+++ iptv-0.0.7/pidscanner.c
@@ -146,7 +146,11 @@ void cPidScanner::Process(const uint8_t*
            for (unsigned int i = 0; i < MAXSPIDS; ++i)
                Spids[i] = IptvChannel->Spid(i);
            debug("cPidScanner::Process(): Vpid=0x%04X, Apid=0x%04X\n", Vpid, Apid);
+#if defined(APIVERSNUM) && APIVERSNUM < 10510
+           IptvChannel->SetPids(Vpid, Ppid, Apids, ALangs, Dpids, DLangs, Tpid);
+#else
            IptvChannel->SetPids(Vpid, Ppid, Apids, ALangs, Dpids, DLangs, Spids, SLangs, Tpid);
+#endif
            Channels.Unlock();
            process = false;
            }