mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
arm-hardware: set default osd resolution to 1080
Origin commit data
------------------
Commit: 29dcbabb45
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-12-01 (Tue, 01 Dec 2020)
Origin message was:
------------------
- arm-hardware: set default osd resolution to 1080
This commit is contained in:
@@ -929,7 +929,11 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
|||||||
g_settings.channellist_show_res_icon = configfile.getInt32("channellist_show_res_icon", 0);
|
g_settings.channellist_show_res_icon = configfile.getInt32("channellist_show_res_icon", 0);
|
||||||
|
|
||||||
//screen configuration
|
//screen configuration
|
||||||
g_settings.osd_resolution = (osd_resolution_tmp == -1) ? configfile.getInt32("osd_resolution", 0) : osd_resolution_tmp;
|
int osd_res = OSDMODE_720;
|
||||||
|
#if HAVE_ARM_HARDWARE
|
||||||
|
osd_res = OSDMODE_1080;
|
||||||
|
#endif
|
||||||
|
g_settings.osd_resolution = (osd_resolution_tmp == -1) ? configfile.getInt32("osd_resolution", osd_res) : osd_resolution_tmp;
|
||||||
COsdHelpers::getInstance()->g_settings_osd_resolution_save = g_settings.osd_resolution;
|
COsdHelpers::getInstance()->g_settings_osd_resolution_save = g_settings.osd_resolution;
|
||||||
g_settings.screen_StartX_crt_0 = configfile.getInt32("screen_StartX_crt_0", 80);
|
g_settings.screen_StartX_crt_0 = configfile.getInt32("screen_StartX_crt_0", 80);
|
||||||
g_settings.screen_StartY_crt_0 = configfile.getInt32("screen_StartY_crt_0", 45);
|
g_settings.screen_StartY_crt_0 = configfile.getInt32("screen_StartY_crt_0", 45);
|
||||||
|
Reference in New Issue
Block a user