mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
fix coolstream build
Origin commit data
------------------
Branch: ni/coolstream
Commit: ad5bb6d091
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-01-20 (Mon, 20 Jan 2020)
Origin message was:
------------------
- fix coolstream build
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -634,7 +634,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;
|
||||||
}
|
}
|
||||||
|
@@ -2595,7 +2595,11 @@ bool CZapit::Start(Z_start_arg *ZapStart_arg)
|
|||||||
|
|
||||||
// set ci clock to ZapStart_arg->ci_clock
|
// set ci clock to ZapStart_arg->ci_clock
|
||||||
for (unsigned int i = 0; i < ca->GetNumberCISlots(); i++) {
|
for (unsigned int i = 0; i < ca->GetNumberCISlots(); i++) {
|
||||||
|
#if HAVE_LIBSTB_HAL
|
||||||
ca->SetTSClock(ZapStart_arg->ci_clock[i] * 1000000, i);
|
ca->SetTSClock(ZapStart_arg->ci_clock[i] * 1000000, i);
|
||||||
|
#else
|
||||||
|
ca->SetTSClock(ZapStart_arg->ci_clock[i] * 1000000);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if BOXMODEL_VUPLUS
|
#if BOXMODEL_VUPLUS
|
||||||
|
Reference in New Issue
Block a user