mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 11:37:03 +00:00
Added optional patches to disable CA updates.
This commit is contained in:
11
patches/vdr-1.6.0-disable-ca-updates.patch
Normal file
11
patches/vdr-1.6.0-disable-ca-updates.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff -Nru vdr-1.6.0-vanilla/pat.c vdr-1.6.0-disable-ca-updates/pat.c
|
||||
--- vdr-1.6.0-vanilla/pat.c 2008-02-08 15:48:31.000000000 +0200
|
||||
+++ vdr-1.6.0-disable-ca-updates/pat.c 2009-03-07 14:56:42.000000000 +0200
|
||||
@@ -440,6 +440,7 @@
|
||||
}
|
||||
if (Setup.UpdateChannels >= 2) {
|
||||
Channel->SetPids(Vpid, Vpid ? Ppid : 0, Apids, ALangs, Dpids, DLangs, Spids, SLangs, Tpid);
|
||||
+ if (!Channel->IsPlug())
|
||||
Channel->SetCaIds(CaDescriptors->CaIds());
|
||||
}
|
||||
Channel->SetCaDescriptors(CaDescriptorHandler.AddCaDescriptors(CaDescriptors));
|
||||
11
patches/vdr-1.7.4-disable-ca-updates.patch
Normal file
11
patches/vdr-1.7.4-disable-ca-updates.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff -Nru vdr-1.7.4-vanilla/pat.c vdr-1.7.4-disable-ca-updates/pat.c
|
||||
--- vdr-1.7.4-vanilla/pat.c 2008-07-06 17:01:32.000000000 +0300
|
||||
+++ vdr-1.7.4-disable-ca-updates/pat.c 2009-03-07 14:54:12.000000000 +0200
|
||||
@@ -444,6 +444,7 @@
|
||||
}
|
||||
if (Setup.UpdateChannels >= 2) {
|
||||
Channel->SetPids(Vpid, Ppid, Vtype, Apids, ALangs, Dpids, DLangs, Spids, SLangs, Tpid);
|
||||
+ if (!Channel->IsPlug())
|
||||
Channel->SetCaIds(CaDescriptors->CaIds());
|
||||
}
|
||||
Channel->SetCaDescriptors(CaDescriptorHandler.AddCaDescriptors(CaDescriptors));
|
||||
Reference in New Issue
Block a user