summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-03-17 15:09:18 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-03-17 15:09:18 +0000
commiteaeec805d4b14161da62d7d19c9fcf8df90db38c (patch)
tree3f729ff85b983368134774bbc774178eec8a8996 /media-plugins/vdr-iptv/files
parent~amd64 added wrt bug #210795 (diff)
downloadgentoo-2-eaeec805d4b14161da62d7d19c9fcf8df90db38c.tar.gz
gentoo-2-eaeec805d4b14161da62d7d19c9fcf8df90db38c.tar.bz2
gentoo-2-eaeec805d4b14161da62d7d19c9fcf8df90db38c.zip
Add vdr-1.4 compatibility.
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-plugins/vdr-iptv/files')
-rw-r--r--media-plugins/vdr-iptv/files/vdr-iptv-0.0.7-vdr-1.4.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-plugins/vdr-iptv/files/vdr-iptv-0.0.7-vdr-1.4.diff b/media-plugins/vdr-iptv/files/vdr-iptv-0.0.7-vdr-1.4.diff
new file mode 100644
index 000000000000..31447c7af4da
--- /dev/null
+++ b/media-plugins/vdr-iptv/files/vdr-iptv-0.0.7-vdr-1.4.diff
@@ -0,0 +1,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;
+ }