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

Tweaked setting the pid update cache timer.

This commit is contained in:
Rolf Ahrenberg 2015-01-09 19:56:43 +02:00
parent 695dd53bfc
commit 2f6315280f

View File

@ -378,7 +378,6 @@ bool cSatipTuner::SetPid(int pidP, int typeP, bool onP)
addPidsM.RemovePid(pidP); addPidsM.RemovePid(pidP);
} }
debug9("%s (%d, %d, %d) pids=%s [device %d]", __PRETTY_FUNCTION__, pidP, typeP, onP, *pidsM.ListPids(), deviceIdM); debug9("%s (%d, %d, %d) pids=%s [device %d]", __PRETTY_FUNCTION__, pidP, typeP, onP, *pidsM.ListPids(), deviceIdM);
pidUpdateCacheM.Set(ePidUpdateIntervalMs);
sleepM.Signal(); sleepM.Signal();
return true; return true;
@ -421,6 +420,7 @@ bool cSatipTuner::UpdatePids(bool forceP)
} }
pmtPidM = pid; pmtPidM = pid;
} }
pidUpdateCacheM.Set(ePidUpdateIntervalMs);
if (!rtspM.Play(*uri)) if (!rtspM.Play(*uri))
return false; return false;
addPidsM.Clear(); addPidsM.Clear();