mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 10:51:12 +02:00
- fix coolstream build
Conflicts: src/zapit/src/zapit.cpp Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -638,7 +638,11 @@ bool CCAMMenuHandler::changeNotify(const neutrino_locale_t OptionName, void * Da
|
||||
if (ARE_LOCALES_EQUAL(OptionName, LOCALE_CI_CLOCK)) {
|
||||
for (unsigned int i = 0; i < ca->GetNumberCISlots(); i++) {
|
||||
printf("CCAMMenuHandler::changeNotify: ci_clock[%d] %d\n", i, g_settings.ci_clock[i]);
|
||||
#if HAVE_LIBSTB_HAL
|
||||
ca->SetTSClock(g_settings.ci_clock[i] * 1000000, i);
|
||||
#else
|
||||
ca->SetTSClock(g_settings.ci_clock[i] * 1000000);
|
||||
#endif
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@@ -2579,7 +2579,8 @@ bool CZapit::Start(Z_start_arg *ZapStart_arg)
|
||||
}
|
||||
|
||||
/* CA_INIT_CI or CA_INIT_SC or CA_INIT_BOTH */
|
||||
switch(config.cam_ci){
|
||||
switch(config.cam_ci)
|
||||
{
|
||||
case 2:
|
||||
ca->SetInitMask(CA_INIT_BOTH);
|
||||
break;
|
||||
@@ -2596,7 +2597,11 @@ bool CZapit::Start(Z_start_arg *ZapStart_arg)
|
||||
|
||||
// set ci clock to ZapStart_arg->ci_clock
|
||||
for (uint32_t i = 0; i < ca->GetNumberCISlots(); i++) {
|
||||
#if HAVE_LIBSTB_HAL
|
||||
ca->SetTSClock(ZapStart_arg->ci_clock[i] * 1000000, i);
|
||||
#else
|
||||
ca->SetTSClock(ZapStart_arg->ci_clock[i] * 1000000);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if BOXMODEL_VUPLUS
|
||||
|
Reference in New Issue
Block a user