Fix osd mode switch in videosystem auto mode

This commit is contained in:
M. Liebmann
2017-03-06 10:51:43 +01:00
parent bab10ee438
commit 1bb9fc6687

View File

@@ -58,8 +58,15 @@ void COsdHelpers::changeOsdResolution(uint32_t mode, bool automode/*=false*/, bo
}
int videoSystem = getVideoSystem();
if (!isVideoSystem1080(videoSystem))
if ((g_settings.video_Mode == VIDEO_STD_AUTO) &&
(g_settings.enabled_auto_modes[videoSystem] == 1) &&
(!isVideoSystem1080(videoSystem)))
modeNew = OSDMODE_720;
// if (!isVideoSystem1080(videoSystem))
// modeNew = OSDMODE_720;
idx = frameBuffer->getIndexOsdResolution(modeNew);
resetOsd = (modeNew != getOsdResolution()) ? true : false;
#if 1