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

Origin commit data
------------------
Commit: 041991e0de
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-06-22 (Fri, 22 Jun 2012)
This commit is contained in:
Jacek Jendrzej
2012-06-22 10:30:56 +02:00
parent 6dd3f4ce68
commit 51df80ab7a
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);
}