From 2f51fa223abbb9a3376ef1502d95e2465d9dddbb Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 5 May 2019 16:00:00 +0200 Subject: [PATCH] osd_helpers.cpp: use infoclock methods with better readability Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/d7cb1da62f2e7902991b715cd6753a467115cd54 Author: Thilo Graf Date: 2019-05-05 (Sun, 05 May 2019) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/osd_helpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/osd_helpers.cpp b/src/gui/osd_helpers.cpp index d54716dd7..715df998a 100644 --- a/src/gui/osd_helpers.cpp +++ b/src/gui/osd_helpers.cpp @@ -97,7 +97,7 @@ void COsdHelpers::changeOsdResolution(uint32_t mode, bool automode/*=false*/, bo //printf("\n>>>>>[%s:%d] New res: %dx%dx%d\n \n", __func__, __LINE__, resW, resH, bpp); g_settings.osd_resolution = modeNew; if (InfoClock) - InfoClock->enableInfoClock(false); + InfoClock->disableInfoClock(); frameBuffer->Clear(); if (resetOsd) { CNeutrinoApp::getInstance()->setScreenSettings(); @@ -111,7 +111,7 @@ void COsdHelpers::changeOsdResolution(uint32_t mode, bool automode/*=false*/, bo CNeutrinoApp::getInstance()->channelList->ResetModules(); } if (InfoClock) - InfoClock->enableInfoClock(true); + InfoClock->enableInfoClock(); } if (g_InfoViewer) { g_InfoViewer->ResetModules();