mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 11:37:42 +00:00
do source-filtering in cSatipServer::Assign()
This commit is contained in:
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);
|
||||||
|
Reference in New Issue
Block a user