mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
l4l: force update of output files if ...
lcd4linux is not running and display is changed in automatic mode
Origin commit data
------------------
Branch: ni/coolstream
Commit: 03281f959c
Author: GetAway <get-away@t-online.de>
Date: 2019-01-20 (Sun, 20 Jan 2019)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -251,6 +251,8 @@ void CLCD4l::Init()
|
||||
|
||||
if (!access(LCD_DATADIR, F_OK) == 0)
|
||||
mkdir(LCD_DATADIR, 0755);
|
||||
|
||||
wait4lcd = true;
|
||||
}
|
||||
|
||||
void* CLCD4l::LCD4lProc(void* arg)
|
||||
@@ -275,9 +277,13 @@ void* CLCD4l::LCD4lProc(void* arg)
|
||||
{
|
||||
if (g_settings.lcd4l_support == 1) // automatic
|
||||
{
|
||||
//printf("[CLCD4l] %s: waiting for lcd4linux\n", __FUNCTION__);
|
||||
sleep(10);
|
||||
continue;
|
||||
if (PLCD4l->GetWaitStatus()) {
|
||||
//printf("[CLCD4l] %s: waiting for lcd4linux\n", __FUNCTION__);
|
||||
sleep(10);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
PLCD4l->SetWaitStatus(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user