-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an upper limit for pid validity according to the SAT>IP specifica…
…tion.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -390,7 +390,7 @@ void cSatipDevice::SetChannelTuned(void) | |
bool cSatipDevice::SetPid(cPidHandle *handleP, int typeP, bool onP) | ||
{ | ||
debug12("%s (%d, %d, %d) [device %u]", __PRETTY_FUNCTION__, handleP ? handleP->pid : -1, typeP, onP, deviceIndexM); | ||
if (pTunerM && handleP && handleP->pid >= 0) { | ||
if (pTunerM && handleP && handleP->pid >= 0 && handleP->pid <= 8191) { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
rofafor
Author
Owner
|
||
if (onP) | ||
return pTunerM->SetPid(handleP->pid, typeP, true); | ||
else if (!handleP->used && pSectionFilterHandlerM && !pSectionFilterHandlerM->Exists(handleP->pid)) | ||
|
so full-transponder magic PID 8192 is not needed?