mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- fix some timout-off-bugs in epgplus, epgview, eventlist and filebrowser
This commit is contained in:
committed by
Jacek Jendrzej
parent
db80514499
commit
f0e7069878
@@ -637,7 +637,8 @@ bool CFileBrowser::exec(const char * const dirname)
|
||||
|
||||
unsigned int oldselected = selected;
|
||||
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_FILEBROWSER]);
|
||||
int timeout = g_settings.timing[SNeutrinoSettings::TIMING_FILEBROWSER];
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(timeout == 0 ? 0xFFFF : timeout);
|
||||
|
||||
bool loop=true;
|
||||
while (loop)
|
||||
@@ -646,7 +647,7 @@ bool CFileBrowser::exec(const char * const dirname)
|
||||
neutrino_msg_t msg_repeatok = msg & ~CRCInput::RC_Repeat;
|
||||
|
||||
if (msg <= CRCInput::RC_MaxRC)
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_FILEBROWSER]);
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(timeout == 0 ? 0xFFFF : timeout);
|
||||
|
||||
if(!CRCInput::isNumeric(msg))
|
||||
{
|
||||
@@ -947,7 +948,8 @@ bool CFileBrowser::playlist_manager(CFileList &playlist, unsigned int playing)
|
||||
paint();
|
||||
paintFoot();
|
||||
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_FILEBROWSER]);
|
||||
int timeout = g_settings.timing[SNeutrinoSettings::TIMING_FILEBROWSER];
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(timeout == 0 ? 0xFFFF : timeout);
|
||||
|
||||
bool loop=true;
|
||||
while (loop)
|
||||
@@ -957,7 +959,7 @@ bool CFileBrowser::playlist_manager(CFileList &playlist, unsigned int playing)
|
||||
neutrino_msg_t msg_repeatok = msg & ~CRCInput::RC_Repeat;
|
||||
|
||||
if (msg <= CRCInput::RC_MaxRC)
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_FILEBROWSER]);
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(timeout == 0 ? 0xFFFF : timeout);
|
||||
|
||||
if(!CRCInput::isNumeric(msg))
|
||||
{
|
||||
|
Reference in New Issue
Block a user