mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
More fixes from Firefly (#84)
* fix missing retune resulting in black screen (cherry picked from commit 0f20f764bce549f7866ab19a91d0850397de21ea) * avoid empty and therefore useless requests to SATIP server (cherry picked from commit 275afb68bc6a8a7fdc91600c8869815008c94d6d) Co-authored-by: FireFly <christoph1.haubrich@arcor.de>
This commit is contained in:
parent
a76ff4c25a
commit
02a842f95a
3
tuner.c
3
tuner.c
@ -244,6 +244,7 @@ bool cSatipTuner::Connect(void)
|
||||
if (useTcp)
|
||||
debug1("%s Requesting TCP [device %d]", __PRETTY_FUNCTION__, deviceIdM);
|
||||
if (rtspM.Setup(*uri, rtpM.Port(), rtcpM.Port(), useTcp)) {
|
||||
lastParamM = streamParamM;
|
||||
keepAliveM.Set(timeoutM);
|
||||
if (nextServerM.IsValid()) {
|
||||
currentServerM = nextServerM;
|
||||
@ -552,9 +553,11 @@ bool cSatipTuner::UpdatePids(bool forceP)
|
||||
tnrParamM = param;
|
||||
}
|
||||
}
|
||||
if (paramadded) {
|
||||
pidUpdateCacheM.Set(ePidUpdateIntervalMs);
|
||||
if (!rtspM.Play(*uri))
|
||||
return false;
|
||||
}
|
||||
addPidsM.Clear();
|
||||
delPidsM.Clear();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user