From 2f6315280f11570a69ed14cafef57f8582d26a76 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Fri, 9 Jan 2015 19:56:43 +0200 Subject: [PATCH] Tweaked setting the pid update cache timer. --- tuner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuner.c b/tuner.c index 3445d4a..7533d3e 100644 --- a/tuner.c +++ b/tuner.c @@ -378,7 +378,6 @@ bool cSatipTuner::SetPid(int pidP, int typeP, bool onP) addPidsM.RemovePid(pidP); } debug9("%s (%d, %d, %d) pids=%s [device %d]", __PRETTY_FUNCTION__, pidP, typeP, onP, *pidsM.ListPids(), deviceIdM); - pidUpdateCacheM.Set(ePidUpdateIntervalMs); sleepM.Signal(); return true; @@ -421,6 +420,7 @@ bool cSatipTuner::UpdatePids(bool forceP) } pmtPidM = pid; } + pidUpdateCacheM.Set(ePidUpdateIntervalMs); if (!rtspM.Play(*uri)) return false; addPidsM.Clear();