mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Added a device hook support for ProvidesTransponder().
This commit is contained in:
parent
913cdbef66
commit
395390fb32
4
device.c
4
device.c
@ -232,7 +232,9 @@ bool cSatipDevice::ProvidesSource(int sourceP) const
|
|||||||
bool cSatipDevice::ProvidesTransponder(const cChannel *channelP) const
|
bool cSatipDevice::ProvidesTransponder(const cChannel *channelP) const
|
||||||
{
|
{
|
||||||
debug1("%s (%d) transponder=%d source=%c [device %u]", __PRETTY_FUNCTION__, channelP ? channelP->Number() : -1, channelP ? channelP->Transponder() : -1, channelP ? cSource::ToChar(channelP->Source()) : '?', deviceIndexM);
|
debug1("%s (%d) transponder=%d source=%c [device %u]", __PRETTY_FUNCTION__, channelP ? channelP->Number() : -1, channelP ? channelP->Transponder() : -1, channelP ? cSource::ToChar(channelP->Source()) : '?', deviceIndexM);
|
||||||
return (ProvidesSource(channelP->Source()));
|
if (!ProvidesSource(channelP->Source()))
|
||||||
|
return false;
|
||||||
|
return DeviceHooksProvidesTransponder(channelP);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cSatipDevice::ProvidesChannel(const cChannel *channelP, int priorityP, bool *needsDetachReceiversP) const
|
bool cSatipDevice::ProvidesChannel(const cChannel *channelP, int priorityP, bool *needsDetachReceiversP) const
|
||||||
|
Loading…
Reference in New Issue
Block a user