mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
Fix osd mode switch in videosystem auto mode
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1bb9fc6687
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-03-06 (Mon, 06 Mar 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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