mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
ca_ci: in some situations missing scambled flag (thx dbo)
This commit is contained in:
@@ -692,14 +692,20 @@ SlotIt cCA::FindFreeSlot(u64 TP, u8 source, u16 SID, ca_map_t camap, unsigned ch
|
|||||||
for (int j = 0; j < CI_MAX_MULTI; j++)
|
for (int j = 0; j < CI_MAX_MULTI; j++)
|
||||||
{
|
{
|
||||||
if ((*it)->TP == TP && (*it)->SID[j] == SID && (*it)->source == source)
|
if ((*it)->TP == TP && (*it)->SID[j] == SID && (*it)->source == source)
|
||||||
|
{
|
||||||
|
(*it)->scrambled = scrambled;
|
||||||
return it;
|
return it;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (it = slot_data.begin(); it != slot_data.end(); ++it)
|
for (it = slot_data.begin(); it != slot_data.end(); ++it)
|
||||||
{
|
{
|
||||||
if ((*it)->multi && (*it)->TP == TP && (*it)->source == source && (*it)->ci_use_count < CI_MAX_MULTI)
|
if ((*it)->multi && (*it)->TP == TP && (*it)->source == source && (*it)->ci_use_count < CI_MAX_MULTI)
|
||||||
return it;
|
{
|
||||||
|
(*it)->scrambled = scrambled;
|
||||||
|
return it;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (it = slot_data.begin(); it != slot_data.end(); ++it)
|
for (it = slot_data.begin(); it != slot_data.end(); ++it)
|
||||||
|
Reference in New Issue
Block a user