1
0
mirror of https://github.com/rofafor/vdr-plugin-iptv.git synced 2023-10-10 13:37:03 +02:00

Added optional patches to disable CA updates.

This commit is contained in:
Rolf Ahrenberg 2009-03-07 15:27:04 +02:00
parent d546cac834
commit fd7a43d733
3 changed files with 23 additions and 0 deletions

View File

@ -93,3 +93,4 @@ VDR Plugin 'iptv' Revision History
- Cleaned up example scripts. - Cleaned up example scripts.
- Fixed pid scanner to set the existing video stream type - Fixed pid scanner to set the existing video stream type
(Thanks to ua0lnj for reporting this one). (Thanks to ua0lnj for reporting this one).
- Added optional patches to disable CA updates.

View 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));

View 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));