vuplus: relevant pids routing - fix

Origin commit data
------------------
Branch: master
Commit: 851f4e48c0
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2020-01-18 (Sat, 18 Jan 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2020-01-18 10:48:38 +01:00
committed by vanhofen
parent 1c28d0f89b
commit f5a5164c44
2 changed files with 3 additions and 3 deletions

View File

@@ -1949,7 +1949,7 @@ void cCA::SetCIDelay(int Delay)
} }
} }
void cCA::SetCIRelevantPidsRouting(bool RPR, int slot) void cCA::SetCIRelevantPidsRouting(int RPR, int slot)
{ {
char buf[64]; char buf[64];
snprintf(buf, 64, "/proc/stb/tsmux/ci%d_relevant_pids_routing", slot); snprintf(buf, 64, "/proc/stb/tsmux/ci%d_relevant_pids_routing", slot);
@@ -1957,7 +1957,7 @@ void cCA::SetCIRelevantPidsRouting(bool RPR, int slot)
printf("%s -> %s to: %b\n", FILENAME, __func__, RPR); printf("%s -> %s to: %b\n", FILENAME, __func__, RPR);
if (ci) if (ci)
{ {
fprintf(ci, "%s", RPR == true ? "yes" : "no"); fprintf(ci, "%s", RPR == 1 ? "yes" : "no");
fclose(ci); fclose(ci);
} }
} }

View File

@@ -333,7 +333,7 @@ public:
/// dvb wait delay for ci response /// dvb wait delay for ci response
void SetCIDelay(int Delay); void SetCIDelay(int Delay);
/// relevant pids routing /// relevant pids routing
void SetCIRelevantPidsRouting(bool RPR, int slot = 0); void SetCIRelevantPidsRouting(int RPR, int slot = 0);
#endif #endif
/// Start the CA module /// Start the CA module