mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
Fixed compiler error in client/device.c with VDR < 1.7.22 (reported by Uwe@vdrportal)
This commit is contained in:
parent
80e40d4260
commit
281105f0c7
@ -205,3 +205,5 @@ Ville Skytt
|
|||||||
Methodus
|
Methodus
|
||||||
for suggesting to use HTTP code 503 for unavailable channels
|
for suggesting to use HTTP code 503 for unavailable channels
|
||||||
|
|
||||||
|
Uwe
|
||||||
|
for reporting a compiler error in client/device.c with VDR < 1.7.22
|
||||||
|
2
HISTORY
2
HISTORY
@ -1,6 +1,8 @@
|
|||||||
VDR Plugin 'streamdev' Revision History
|
VDR Plugin 'streamdev' Revision History
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
|
- Fixed compiler error in client/device.c with VDR < 1.7.22 (reported by
|
||||||
|
Uwe@vdrportal)
|
||||||
- Updated Italian translation (thanks to Diego Pierotto)
|
- Updated Italian translation (thanks to Diego Pierotto)
|
||||||
- Added DeviceName() and DeviceType() to client device. The server IP and the
|
- Added DeviceName() and DeviceType() to client device. The server IP and the
|
||||||
number of the device used on the server are returned respectively.
|
number of the device used on the server are returned respectively.
|
||||||
|
@ -117,7 +117,11 @@ bool cStreamdevDevice::ProvidesChannel(const cChannel *Channel, int Priority,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if APIVERSNUM >= 10722
|
||||||
if (IsTunedToTransponder(Channel)) {
|
if (IsTunedToTransponder(Channel)) {
|
||||||
|
#else
|
||||||
|
if (const_cast<cStreamdevDevice*>(this)->IsTunedToTransponder(Channel)) {
|
||||||
|
#endif
|
||||||
if (Channel->Ca() < CA_ENCRYPTED_MIN ||
|
if (Channel->Ca() < CA_ENCRYPTED_MIN ||
|
||||||
(Channel->Vpid() && HasPid(Channel->Vpid())) ||
|
(Channel->Vpid() && HasPid(Channel->Vpid())) ||
|
||||||
(Channel->Apid(0) && HasPid(Channel->Apid(0))))
|
(Channel->Apid(0) && HasPid(Channel->Apid(0))))
|
||||||
|
Loading…
Reference in New Issue
Block a user