summaryrefslogtreecommitdiff
path: root/pat.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-06-21 20:13:55 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-06-21 20:13:55 +0200
commit8c7d387e8650d82883685602708fe05c6b655a8b (patch)
tree583a9b69303a650d4a8f5e005f6f582298c1dcca /pat.c
parent6c5a448dec029f4d72629662cb2d1869dfec3f35 (diff)
downloadvdr-8c7d387e8650d82883685602708fe05c6b655a8b.tar.gz
vdr-8c7d387e8650d82883685602708fe05c6b655a8b.tar.bz2
Fixed triggering the PAT filter
Diffstat (limited to 'pat.c')
-rw-r--r--pat.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/pat.c b/pat.c
index f58edf55..acda0f55 100644
--- a/pat.c
+++ b/pat.c
@@ -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)