mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
lcd4linux: fix first start
Origin commit data
------------------
Branch: ni/coolstream
Commit: e4f3e6faaf
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-05-31 (Mon, 31 May 2021)
Origin message was:
------------------
- lcd4linux: fix first start
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -625,7 +625,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
|
||||
|
||||
/* ----------------------------------------------------------------- */
|
||||
|
||||
if (newID || parseID == NeutrinoModes::mode_audio || parseID == NeutrinoModes::mode_ts)
|
||||
if (firstRun || newID || parseID == NeutrinoModes::mode_audio || parseID == NeutrinoModes::mode_ts)
|
||||
{
|
||||
std::string Service = "";
|
||||
int ChannelNr = 0;
|
||||
@@ -812,6 +812,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
|
||||
case 1:
|
||||
Layout = DisplayType + "large";
|
||||
break;
|
||||
case 0:
|
||||
default:
|
||||
Layout = DisplayType + "standard";
|
||||
}
|
||||
|
@@ -3128,11 +3128,11 @@ TIMER_START();
|
||||
SHTDCNT::getInstance()->init();
|
||||
|
||||
#ifdef ENABLE_LCD4LINUX
|
||||
if (g_settings.lcd4l_support) {
|
||||
if (LCD4l == NULL)
|
||||
LCD4l = new CLCD4l();
|
||||
if (LCD4l == NULL)
|
||||
LCD4l = new CLCD4l();
|
||||
|
||||
if (g_settings.lcd4l_support)
|
||||
LCD4l->StartLCD4l();
|
||||
}
|
||||
#endif
|
||||
|
||||
CZapit::getInstance()->SetScanSDT(g_settings.enable_sdt);
|
||||
|
Reference in New Issue
Block a user