Fix videosystem auto mode

This commit is contained in:
M. Liebmann
2017-03-28 23:55:16 +02:00
parent 3c1f2bfe05
commit b612c1f620
2 changed files with 5 additions and 2 deletions

View File

@@ -257,7 +257,9 @@ void CMoviePlayerGui::restoreNeutrino()
return;
#ifdef ENABLE_CHANGE_OSD_RESOLUTION
if ((currentVideoSystem > -1) && (g_settings.video_Mode == VIDEO_STD_AUTO)) {
if ((currentVideoSystem > -1) &&
(g_settings.video_Mode == VIDEO_STD_AUTO) &&
(g_settings.enabled_auto_modes[currentVideoSystem] == 1)) {
COsdHelpers *coh = COsdHelpers::getInstance();
if (currentVideoSystem != coh->getVideoSystem()) {
coh->setVideoSystem(currentVideoSystem, false);