mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 19:01:25 +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)) {
|
if (ARE_LOCALES_EQUAL(OptionName, LOCALE_CI_CLOCK)) {
|
||||||
for (unsigned int i = 0; i < ca->GetNumberCISlots(); i++) {
|
for (unsigned int i = 0; i < ca->GetNumberCISlots(); i++) {
|
||||||
printf("CCAMMenuHandler::changeNotify: ci_clock[%d] %d\n", i, g_settings.ci_clock[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);
|
ca->SetTSClock(g_settings.ci_clock[i] * 1000000, i);
|
||||||
|
#else
|
||||||
|
ca->SetTSClock(g_settings.ci_clock[i] * 1000000);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -2579,24 +2579,29 @@ bool CZapit::Start(Z_start_arg *ZapStart_arg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* CA_INIT_CI or CA_INIT_SC or CA_INIT_BOTH */
|
/* 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);
|
case 2:
|
||||||
break;
|
ca->SetInitMask(CA_INIT_BOTH);
|
||||||
case 1:
|
break;
|
||||||
ca->SetInitMask(CA_INIT_CI);
|
case 1:
|
||||||
break;
|
ca->SetInitMask(CA_INIT_CI);
|
||||||
case 0:
|
break;
|
||||||
ca->SetInitMask(CA_INIT_SC);
|
case 0:
|
||||||
break;
|
ca->SetInitMask(CA_INIT_SC);
|
||||||
default:
|
break;
|
||||||
ca->SetInitMask(CA_INIT_BOTH);
|
default:
|
||||||
break;
|
ca->SetInitMask(CA_INIT_BOTH);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// set ci clock to ZapStart_arg->ci_clock
|
// set ci clock to ZapStart_arg->ci_clock
|
||||||
for (uint32_t i = 0; i < ca->GetNumberCISlots(); i++) {
|
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);
|
ca->SetTSClock(ZapStart_arg->ci_clock[i] * 1000000);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if BOXMODEL_VUPLUS
|
#if BOXMODEL_VUPLUS
|
||||||
|
Reference in New Issue
Block a user