mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
switching away live TV failed even when "always suspended"
The vdr main loop usually switches back to the previous channel at "Make sure we have a visible programme in case device usage has changed" (#472)
This commit is contained in:
parent
5aaf73310c
commit
0125471412
@ -174,3 +174,6 @@ Rainer Blickle
|
|||||||
|
|
||||||
Gavin Hamill
|
Gavin Hamill
|
||||||
for reporting that ES/PS/PES no longer works
|
for reporting that ES/PS/PES no longer works
|
||||||
|
|
||||||
|
Michal Novotny
|
||||||
|
for reporting that switching away live TV fails when "always suspended"
|
||||||
|
2
HISTORY
2
HISTORY
@ -1,6 +1,8 @@
|
|||||||
VDR Plugin 'streamdev' Revision History
|
VDR Plugin 'streamdev' Revision History
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
|
- switching away live TV failed even when "always suspended" (reported by
|
||||||
|
Michal Novotny)
|
||||||
- fixed regression: no receiver created for ES/PS/PES (reported by Gavin
|
- fixed regression: no receiver created for ES/PS/PES (reported by Gavin
|
||||||
Hamill)
|
Hamill)
|
||||||
- VTP no longer uses a static priority value for its server-side receivers.
|
- VTP no longer uses a static priority value for its server-side receivers.
|
||||||
|
@ -296,7 +296,6 @@ cDevice *cServerConnection::GetDevice(const cChannel *Channel, int Priority)
|
|||||||
|
|
||||||
if (device && device == cDevice::ActualDevice()
|
if (device && device == cDevice::ActualDevice()
|
||||||
&& !cSuspendCtl::IsActive()
|
&& !cSuspendCtl::IsActive()
|
||||||
&& StreamdevServerSetup.SuspendMode != smAlways
|
|
||||||
&& current != NULL
|
&& current != NULL
|
||||||
&& !TRANSPONDER(Channel, current)) {
|
&& !TRANSPONDER(Channel, current)) {
|
||||||
// now we would have to switch away live tv...let's see if live tv
|
// now we would have to switch away live tv...let's see if live tv
|
||||||
@ -307,8 +306,13 @@ cDevice *cServerConnection::GetDevice(const cChannel *Channel, int Priority)
|
|||||||
#else
|
#else
|
||||||
cDevice *newdev = CheckDevice(current, 0, true, device);
|
cDevice *newdev = CheckDevice(current, 0, true, device);
|
||||||
#endif
|
#endif
|
||||||
if (newdev)
|
if (newdev) {
|
||||||
newdev->SwitchChannel(current, true);
|
newdev->SwitchChannel(current, true);
|
||||||
|
}
|
||||||
|
else if (StreamdevServerSetup.SuspendMode == smAlways) {
|
||||||
|
Channels.SwitchTo(Channel->Number());
|
||||||
|
Skins.Message(mtInfo, tr("Streaming active"));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
device = NULL;
|
device = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user