summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-28 12:48:33 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-28 12:48:33 +0100
commit1530b5647baa56c05298d49514a7cc271bf524d5 (patch)
tree8b4597c9a280582ccc02acaba5bc844945ba2806
parent759a45d5086b427ad53486b2b13ab0011b869dee (diff)
downloadvdr-1530b5647baa56c05298d49514a7cc271bf524d5.tar.gz
vdr-1530b5647baa56c05298d49514a7cc271bf524d5.tar.bz2
Increased the timeout in cInterface::GetKey() to avoid problems with remote controls that don't deliver "repeat" keypresses very fast
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY3
-rw-r--r--interface.c4
3 files changed, 7 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 653e0b4c..2d3b3a75 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1346,6 +1346,8 @@ Udo Richter <udo_richter@gmx.de>
no longer exists
for reporting a missing check against MAXOSDAREAS in cOsd::CanHandleAreas()
for making the Makefile report a summary of failed plugins
+ for reporting a problem with the new handling of k_Repeat keypresses in channel
+ switching
Sven Kreiensen <svenk@kammer.uni-hannover.de>
for his help in keeping 'channels.conf.terr' up to date
diff --git a/HISTORY b/HISTORY
index 3a6d0378..68085ee1 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4248,3 +4248,6 @@ Video Disk Recorder Revision History
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Fixed channel switching with the Down (Up) key in case the current channel is
already the first (last) in the list (reported by Frank Krömmelbein).
+- Increased the timeout in cInterface::GetKey() to avoid problems with remote
+ controls that don't deliver "repeat" keypresses very fast (problem with the new
+ handling of k_Repeat keypresses in channel switching reported by Udo Richter).
diff --git a/interface.c b/interface.c
index b2e842da..afe756b9 100644
--- a/interface.c
+++ b/interface.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: interface.c 1.71 2006/01/04 15:44:19 kls Exp $
+ * $Id: interface.c 1.72 2006/01/28 12:44:34 kls Exp $
*/
#include "interface.h"
@@ -37,7 +37,7 @@ eKeys cInterface::GetKey(bool Wait)
if (SVDRP->Process())
Wait = false;
}
- return cRemote::Get(Wait ? 1000 : 10);
+ return cRemote::Get(Wait ? 1000 : 100);
}
eKeys cInterface::Wait(int Seconds, bool KeepChar)