mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
ca_ci.cpp: No decoding using the same SID after switching to a FTA channel
This commit is contained in:
@@ -632,6 +632,7 @@ bool cCA::StopLiveCI( u64 TP, u16 SID, u8 source, u32 calen)
|
|||||||
{
|
{
|
||||||
if ((*it)->liveUse[j] && (*it)->TP == TP && (*it)->SID[j] == SID && (*it)->source == source && !calen)
|
if ((*it)->liveUse[j] && (*it)->TP == TP && (*it)->SID[j] == SID && (*it)->source == source && !calen)
|
||||||
{
|
{
|
||||||
|
(*it)->SID[j] = 0;
|
||||||
(*it)->liveUse[j] = false;
|
(*it)->liveUse[j] = false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -650,6 +651,7 @@ bool cCA::StopRecordCI( u64 TP, u16 SID, u8 source, u32 calen)
|
|||||||
{
|
{
|
||||||
if ((*it)->recordUse[j] && (*it)->TP == TP && (*it)->SID[j] == SID && (*it)->source == source && !calen)
|
if ((*it)->recordUse[j] && (*it)->TP == TP && (*it)->SID[j] == SID && (*it)->source == source && !calen)
|
||||||
{
|
{
|
||||||
|
(*it)->SID[j] = 0;
|
||||||
(*it)->recordUse[j] = false;
|
(*it)->recordUse[j] = false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user