diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2020-07-01 15:16:21 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2020-07-01 15:16:21 +0200 |
commit | 568ca0e773b5a04bfde9d855d1df524630c550b3 (patch) | |
tree | 06e1399fd4ea6e2abae798b602833052e3dc4d8e /ci.c | |
parent | fa5c9f764a6edbaba9543365770b14992194a5d0 (diff) | |
download | vdr-568ca0e773b5a04bfde9d855d1df524630c550b3.tar.gz vdr-568ca0e773b5a04bfde9d855d1df524630c550b3.tar.bz2 |
Fixed handling inactive shared CA pids
Diffstat (limited to 'ci.c')
-rw-r--r-- | ci.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: ci.c 4.29 2020/06/27 10:05:56 kls Exp $ + * $Id: ci.c 4.30 2020/07/01 15:16:21 kls Exp $ */ #include "ci.h" @@ -2557,7 +2557,7 @@ void cCamSlot::KeepSharedCaPids(int ProgramNumber, const int *CaSystemIds, int * return; int CaPids2[MAXRECEIVEPIDS + 1]; for (cCiCaProgramData *p = caProgramList.First(); p; p = caProgramList.Next(p)) { - if (p->programNumber != ProgramNumber) { + if (p->Active()) { if (GetCaPids(source, transponder, p->programNumber, CaSystemIds, MAXRECEIVEPIDS + 1, CaPids2) > 0) { int *pCaPids2 = CaPids2; while (*pCaPids2) { |