mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Fix rofafor#65 RTSP streams not disconnected on error (#66)
Fix for #65 RTSP streams not disconnected on error
This commit is contained in:
parent
cc19cff5e9
commit
df81905821
2
tuner.c
2
tuner.c
@ -120,6 +120,8 @@ void cSatipTuner::Action(void)
|
|||||||
break;
|
break;
|
||||||
case tsSet:
|
case tsSet:
|
||||||
debug4("%s: tsSet [device %d]", __PRETTY_FUNCTION__, deviceIdM);
|
debug4("%s: tsSet [device %d]", __PRETTY_FUNCTION__, deviceIdM);
|
||||||
|
// some devices require TEARDOWN before new PLAY command
|
||||||
|
Disconnect();
|
||||||
if (Connect()) {
|
if (Connect()) {
|
||||||
tuning.Set(eTuningTimeoutMs);
|
tuning.Set(eTuningTimeoutMs);
|
||||||
RequestState(tsTuned, smInternal);
|
RequestState(tsTuned, smInternal);
|
||||||
|
Loading…
Reference in New Issue
Block a user