1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00

do source-filtering in cSatipServer::Assign()

This commit is contained in:
Patrick Boettcher 2016-07-31 10:20:07 +02:00
parent c2fe2b748d
commit da59dd3897

View File

@ -206,6 +206,9 @@ int cSatipServer::Compare(const cListObject &listObjectP) const
bool cSatipServer::Assign(int deviceIdP, int sourceP, int systemP, int transponderP) bool cSatipServer::Assign(int deviceIdP, int sourceP, int systemP, int transponderP)
{ {
if (!IsValidSource(sourceP))
return false;
bool result = false; bool result = false;
if (cSource::IsType(sourceP, 'S')) if (cSource::IsType(sourceP, 'S'))
result = frontendsM[eSatipFrontendDVBS2].Assign(deviceIdP, transponderP); result = frontendsM[eSatipFrontendDVBS2].Assign(deviceIdP, transponderP);