mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed handling LIRC events in case repeated events are lost
This commit is contained in:
parent
7fc654eb21
commit
58c9fdc8c5
3
HISTORY
3
HISTORY
@ -7813,7 +7813,7 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed a crash in the LCARS skin's main menu in case there is no current channel
|
- Fixed a crash in the LCARS skin's main menu in case there is no current channel
|
||||||
(reported by Dominique Dumont).
|
(reported by Dominique Dumont).
|
||||||
|
|
||||||
2013-08-21: Version 2.1.1
|
2013-08-22: Version 2.1.1
|
||||||
|
|
||||||
- Fixed initializing cDevice::keepTracks.
|
- Fixed initializing cDevice::keepTracks.
|
||||||
- Fixed an endless loop in cTextWrapper::Set() in case the given Width is smaller than
|
- Fixed an endless loop in cTextWrapper::Set() in case the given Width is smaller than
|
||||||
@ -7871,3 +7871,4 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed asserting free disk space in the cutter.
|
- Fixed asserting free disk space in the cutter.
|
||||||
- No longer trying to delete old recordings in AssertFreeDiskSpace() if the given
|
- No longer trying to delete old recordings in AssertFreeDiskSpace() if the given
|
||||||
Priority is less than 1.
|
Priority is less than 1.
|
||||||
|
- Fixed handling LIRC events in case repeated events are lost.
|
||||||
|
3
lirc.c
3
lirc.c
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* LIRC support added by Carsten Koch <Carsten.Koch@icem.de> 2000-06-16.
|
* LIRC support added by Carsten Koch <Carsten.Koch@icem.de> 2000-06-16.
|
||||||
*
|
*
|
||||||
* $Id: lirc.c 2.5 2013/02/11 15:25:42 kls Exp $
|
* $Id: lirc.c 3.1 2013/08/22 09:22:14 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lirc.h"
|
#include "lirc.h"
|
||||||
@ -111,6 +111,7 @@ void cLircRemote::Action(void)
|
|||||||
else if (LastTime.Elapsed() < (uint)Setup.RcRepeatDelta)
|
else if (LastTime.Elapsed() < (uint)Setup.RcRepeatDelta)
|
||||||
continue; // skip same keys coming in too fast
|
continue; // skip same keys coming in too fast
|
||||||
else {
|
else {
|
||||||
|
pressed = true;
|
||||||
repeat = true;
|
repeat = true;
|
||||||
timeout = Delta * 10 / 9;
|
timeout = Delta * 10 / 9;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user