mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Improved handling of repeated remote keys
This commit is contained in:
parent
4fc0e92350
commit
616ce3880a
3
HISTORY
3
HISTORY
@ -1837,8 +1837,9 @@ Video Disk Recorder Revision History
|
||||
- The new plugin 'sky' can be used to integrate a Sky Digibox into the VDR system,
|
||||
using a Kfir MPEG2 encoder card (see PLUGINS/src/sky/README for details).
|
||||
|
||||
2002-12-06: Version 1.1.19
|
||||
2002-12-07: Version 1.1.19
|
||||
|
||||
- The character '|' in description texts of EPG records is now interpreted as a
|
||||
newline character (suggested by Gerhard Steiner).
|
||||
- Updated 'channels.conf.cable' (thanks to Andreas Kool).
|
||||
- Improved handling of repeated remote keys.
|
||||
|
4
remote.c
4
remote.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: remote.c 1.32 2002/12/01 10:40:04 kls Exp $
|
||||
* $Id: remote.c 1.33 2002/12/07 11:48:10 kls Exp $
|
||||
*/
|
||||
|
||||
#include "remote.h"
|
||||
@ -68,7 +68,7 @@ bool cRemote::Put(eKeys Key)
|
||||
{
|
||||
if (Key != kNone) {
|
||||
cMutexLock MutexLock(&mutex);
|
||||
if ((Key & k_Release) != 0)
|
||||
if (in != out && (keys[out] & k_Repeat) && (Key & k_Release))
|
||||
Clear();
|
||||
int d = out - in;
|
||||
if (d <= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user