mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
Fix osd mode switch in videosystem auto mode
This commit is contained in:
@@ -58,8 +58,15 @@ void COsdHelpers::changeOsdResolution(uint32_t mode, bool automode/*=false*/, bo
|
|||||||
}
|
}
|
||||||
|
|
||||||
int videoSystem = getVideoSystem();
|
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;
|
modeNew = OSDMODE_720;
|
||||||
|
|
||||||
|
// if (!isVideoSystem1080(videoSystem))
|
||||||
|
// modeNew = OSDMODE_720;
|
||||||
|
|
||||||
idx = frameBuffer->getIndexOsdResolution(modeNew);
|
idx = frameBuffer->getIndexOsdResolution(modeNew);
|
||||||
resetOsd = (modeNew != getOsdResolution()) ? true : false;
|
resetOsd = (modeNew != getOsdResolution()) ? true : false;
|
||||||
#if 1
|
#if 1
|
||||||
|
Reference in New Issue
Block a user