mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 17:16:51 +00:00
Fixed compiler error in client/device.c with VDR < 1.7.22 (reported by Uwe@vdrportal)
This commit is contained in:
@@ -117,7 +117,11 @@ bool cStreamdevDevice::ProvidesChannel(const cChannel *Channel, int Priority,
|
||||
return false;
|
||||
}
|
||||
|
||||
#if APIVERSNUM >= 10722
|
||||
if (IsTunedToTransponder(Channel)) {
|
||||
#else
|
||||
if (const_cast<cStreamdevDevice*>(this)->IsTunedToTransponder(Channel)) {
|
||||
#endif
|
||||
if (Channel->Ca() < CA_ENCRYPTED_MIN ||
|
||||
(Channel->Vpid() && HasPid(Channel->Vpid())) ||
|
||||
(Channel->Apid(0) && HasPid(Channel->Apid(0))))
|
||||
|
Reference in New Issue
Block a user