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:
parent
c2fe2b748d
commit
da59dd3897
3
server.c
3
server.c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user