mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
- cam_menu: fix compiler warning (too many arguments for format)
Conflicts: src/gui/cam_menu.cpp Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -627,22 +627,28 @@ bool CCAMMenuHandler::changeNotify(const neutrino_locale_t OptionName, void * Da
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_CI_RPR)) {
|
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_CI_RPR)) {
|
||||||
printf("CCAMMenuHandler::changeNotify: ci_rpr[%d] %d\n", CISlot, g_settings.ci_rpr[CISlot]);
|
for (unsigned int i = 0; i < ca->GetNumberCISlots(); i++) {
|
||||||
ca->SetCIRelevantPidsRouting(g_settings.ci_rpr[CISlot]);
|
printf("CCAMMenuHandler::changeNotify: ci_rpr[%d] %d\n", i, g_settings.ci_rpr[i]);
|
||||||
|
ca->SetCIRelevantPidsRouting(g_settings.ci_rpr[i], i);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
if (ARE_LOCALES_EQUAL(OptionName, LOCALE_CI_CLOCK)) {
|
if (ARE_LOCALES_EQUAL(OptionName, LOCALE_CI_CLOCK)) {
|
||||||
printf("CCAMMenuHandler::changeNotify: ci_clock[%d] %d\n", CISlot, g_settings.ci_clock[CISlot]);
|
for (unsigned int i = 0; i < ca->GetNumberCISlots(); i++) {
|
||||||
ca->SetTSClock(g_settings.ci_clock[CISlot] * 1000000);
|
printf("CCAMMenuHandler::changeNotify: ci_clock[%d] %d\n", i, g_settings.ci_clock[i]);
|
||||||
|
ca->SetTSClock(g_settings.ci_clock[i] * 1000000, i);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_CI_SAVE_PINCODE)) {
|
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_CI_SAVE_PINCODE)) {
|
||||||
int enabled = *(int *) Data;
|
int enabled = *(int *) Data;
|
||||||
if (!enabled) {
|
if (!enabled) {
|
||||||
printf("CCAMMenuHandler::changeNotify: clear saved pincode\n");
|
for (unsigned int i = 0; i < ca->GetNumberCISlots(); i++) {
|
||||||
g_settings.ci_pincode[CISlot].clear();
|
printf("CCAMMenuHandler::changeNotify: clear saved pincode[%d]\n", i);
|
||||||
|
g_settings.ci_pincode[i].clear();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if HAVE_LIBSTB_HAL
|
#if HAVE_LIBSTB_HAL
|
||||||
|
Reference in New Issue
Block a user