1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Avoiding short display of the main menu if a plugin displays its own OSD

This commit is contained in:
Klaus Schmidinger 2003-04-27 12:36:21 +02:00
parent 749b5090ab
commit cade7eb70e
4 changed files with 12 additions and 3 deletions

View File

@ -612,3 +612,7 @@ Benjamin Harling <benjamin.harling@web.de>
Christian Jacobsen <christian.jacobsen@stageholding.de> Christian Jacobsen <christian.jacobsen@stageholding.de>
for making the LIRC interface skip keys that come in too fast for making the LIRC interface skip keys that come in too fast
Andreas Mair <Andreas.Mair@linogate.com>
for reporting a short display of the main menu if a plugin displays its own OSD and
is started through a user defined key macro

View File

@ -2077,3 +2077,6 @@ Video Disk Recorder Revision History
- Added a note regarding non-VDR files in the /videoX directories to INSTALL - Added a note regarding non-VDR files in the /videoX directories to INSTALL
(suggested by Benjamin Harling). (suggested by Benjamin Harling).
- Skipping keys that come in too fast from LIRC (thanks to Christian Jacobsen). - Skipping keys that come in too fast from LIRC (thanks to Christian Jacobsen).
- Avoiding short display of the main menu if a plugin displays its own OSD and
is started through a user defined key macro (thanks to Andreas Mair for reporting
this one).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: interface.c 1.63 2003/04/12 14:17:49 kls Exp $ * $Id: interface.c 1.64 2003/04/27 12:08:52 kls Exp $
*/ */
#include "interface.h" #include "interface.h"
@ -56,7 +56,8 @@ void cInterface::Close(void)
eKeys cInterface::GetKey(bool Wait) eKeys cInterface::GetKey(bool Wait)
{ {
Flush(); if (!cRemote::HasKeys())
Flush();
if (SVDRP) { if (SVDRP) {
if (SVDRP->Process()) if (SVDRP->Process())
Wait = false; Wait = false;

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: remote.h 1.25 2003/04/12 14:14:49 kls Exp $ * $Id: remote.h 1.26 2003/04/27 12:05:48 kls Exp $
*/ */
#ifndef __REMOTE_H #ifndef __REMOTE_H
@ -45,6 +45,7 @@ public:
static bool Put(eKeys Key); static bool Put(eKeys Key);
static bool PutMacro(eKeys Key); static bool PutMacro(eKeys Key);
static const char *GetPlugin(void) { return plugin; } static const char *GetPlugin(void) { return plugin; }
static bool HasKeys(void) { return in != out; }
static eKeys Get(int WaitMs = 1000, char **UnknownCode = NULL); static eKeys Get(int WaitMs = 1000, char **UnknownCode = NULL);
}; };