mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 11:37:42 +00:00
avoid empty and therefore useless requests to SATIP server
(cherry picked from commit 275afb68bc6a8a7fdc91600c8869815008c94d6d)
This commit is contained in:
parent
5b3d3a8fd9
commit
7a02076d8b
8
tuner.c
8
tuner.c
@ -553,9 +553,11 @@ bool cSatipTuner::UpdatePids(bool forceP)
|
||||
tnrParamM = param;
|
||||
}
|
||||
}
|
||||
pidUpdateCacheM.Set(ePidUpdateIntervalMs);
|
||||
if (!rtspM.Play(*uri))
|
||||
return false;
|
||||
if (paramadded) {
|
||||
pidUpdateCacheM.Set(ePidUpdateIntervalMs);
|
||||
if (!rtspM.Play(*uri))
|
||||
return false;
|
||||
}
|
||||
addPidsM.Clear();
|
||||
delPidsM.Clear();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user