mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
Setting streamer to NULL if TUNE fails should not be necessary
This commit is contained in:
parent
62fa951c61
commit
3e9e7f7de6
@ -1123,7 +1123,6 @@ bool cConnectionVTP::CmdTUNE(char *Opts)
|
|||||||
|
|
||||||
cStreamdevLiveStreamer* liveStreamer = new cStreamdevLiveStreamer(this, chan, prio, m_StreamType);
|
cStreamdevLiveStreamer* liveStreamer = new cStreamdevLiveStreamer(this, chan, prio, m_StreamType);
|
||||||
if ((dev = liveStreamer->GetDevice()) == NULL) {
|
if ((dev = liveStreamer->GetDevice()) == NULL) {
|
||||||
SetStreamer(NULL);
|
|
||||||
delete liveStreamer;
|
delete liveStreamer;
|
||||||
return Respond(560, "Channel not available (SwitchDevice)");
|
return Respond(560, "Channel not available (SwitchDevice)");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user