infoviewer: displaying dd availability is now optional (martii patch adapted by bazi98 )

This commit is contained in:
satbaby
2012-06-22 10:30:56 +02:00
parent e6d4c04913
commit 041991e0de
8 changed files with 10 additions and 2 deletions

View File

@@ -420,8 +420,8 @@ void CInfoViewerBB::showIcon_DD()
if ((g_RemoteControl->current_PIDs.PIDs.selected_apid < g_RemoteControl->current_PIDs.APIDs.size()) &&
(g_RemoteControl->current_PIDs.APIDs[g_RemoteControl->current_PIDs.PIDs.selected_apid].is_ac3))
dd_icon = NEUTRINO_ICON_DD;
else
dd_icon = (g_RemoteControl->has_ac3) ? NEUTRINO_ICON_DD_AVAIL : NEUTRINO_ICON_DD_GREY;
else
dd_icon = (g_settings.infobar_show_dd_available && g_RemoteControl->has_ac3) ? NEUTRINO_ICON_DD_AVAIL : NEUTRINO_ICON_DD_GREY;
showBBIcons(CInfoViewerBB::ICON_DD, dd_icon);
}