diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2021-06-21 20:13:55 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2021-06-21 20:13:55 +0200 |
commit | 8c7d387e8650d82883685602708fe05c6b655a8b (patch) | |
tree | 583a9b69303a650d4a8f5e005f6f582298c1dcca /pat.c | |
parent | 6c5a448dec029f4d72629662cb2d1869dfec3f35 (diff) | |
download | vdr-8c7d387e8650d82883685602708fe05c6b655a8b.tar.gz vdr-8c7d387e8650d82883685602708fe05c6b655a8b.tar.bz2 |
Fixed triggering the PAT filter
Diffstat (limited to 'pat.c')
-rw-r--r-- | pat.c | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: pat.c 5.3 2021/06/11 09:38:38 kls Exp $ + * $Id: pat.c 5.4 2021/06/21 20:13:55 kls Exp $ */ #include "pat.h" @@ -401,15 +401,8 @@ void cPatFilter::Trigger(int) { cMutexLock MutexLock(&mutex); DBGLOG("PAT filter trigger"); - if (activePmt != pmtPidList.First()) { - if (activePmt && activePmt->Count() == 0) - activePmt->SetState(-1); - activePmt = pmtPidList.First(); - if (activePmt && activePmt->Count() == 0) { - activePmt->SetState(1); - timer.Set(PMT_SCAN_TIMEOUT); - } - } + patVersion = -1; + sectionSyncer.Reset(); } void cPatFilter::Request(int Sid) |