use video auto modes only if they enabled in neutrino

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@728 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2010-08-19 12:47:18 +00:00
parent ab9fdf0eb9
commit 8c22be3153
8 changed files with 24 additions and 7 deletions

View File

@@ -2427,6 +2427,8 @@ int CNeutrinoApp::run(int argc, char **argv)
videoDecoder->SetCECAutoStandby(g_settings.hdmi_cec_standby == 1);
videoDecoder->SetCECAutoView(g_settings.hdmi_cec_view_on == 1);
videoDecoder->SetCECMode((VIDEO_HDMI_CEC_MODE)g_settings.hdmi_cec_mode);
videoDecoder->SetAutoModes(g_settings.enabled_video_modes);
// trigger a change
audioSetupNotifier->changeNotify(LOCALE_AUDIOMENU_AVSYNC, NULL);