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:
parent
695dd53bfc
commit
2f6315280f
2
tuner.c
2
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();
|
||||
|
Loading…
Reference in New Issue
Block a user