Fix rofafor#65 RTSP streams not disconnected on error
This commit is contained in:
parent
a7625c028c
commit
3d33f766b7
3
tuner.c
3
tuner.c
|
@ -120,13 +120,12 @@ void cSatipTuner::Action(void)
|
|||
break;
|
||||
case tsSet:
|
||||
debug4("%s: tsSet [device %d]", __PRETTY_FUNCTION__, deviceIdM);
|
||||
Disconnect();
|
||||
if (Connect()) {
|
||||
tuning.Set(eTuningTimeoutMs);
|
||||
RequestState(tsTuned, smInternal);
|
||||
UpdatePids(true);
|
||||
}
|
||||
else
|
||||
Disconnect();
|
||||
break;
|
||||
case tsTuned:
|
||||
debug4("%s: tsTuned [device %d]", __PRETTY_FUNCTION__, deviceIdM);
|
||||
|
|
Loading…
Reference in New Issue