From 1530b5647baa56c05298d49514a7cc271bf524d5 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 28 Jan 2006 12:48:33 +0100 Subject: Increased the timeout in cInterface::GetKey() to avoid problems with remote controls that don't deliver "repeat" keypresses very fast --- CONTRIBUTORS | 2 ++ HISTORY | 3 +++ interface.c | 4 ++-- 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 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 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) -- cgit v1.2.3