mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Now setting a timer's cached start time to 0 after a call to Skip()
This commit is contained in:
parent
6496d879e5
commit
ae37eae8e3
@ -1432,6 +1432,7 @@ Udo Richter <udo_richter@gmx.de>
|
|||||||
quoting
|
quoting
|
||||||
for fixing handling the "Power" key in case a timer is about to start recording
|
for fixing handling the "Power" key in case a timer is about to start recording
|
||||||
for fixing calculating the start time of repeated timers with "first day"
|
for fixing calculating the start time of repeated timers with "first day"
|
||||||
|
for setting a timer's cached start time to 0 after a call to Skip()
|
||||||
|
|
||||||
Sven Kreiensen <svenk@kammer.uni-hannover.de>
|
Sven Kreiensen <svenk@kammer.uni-hannover.de>
|
||||||
for his help in keeping 'channels.conf.terr' up to date
|
for his help in keeping 'channels.conf.terr' up to date
|
||||||
|
2
HISTORY
2
HISTORY
@ -4729,3 +4729,5 @@ Video Disk Recorder Revision History
|
|||||||
to Tobias Grimm).
|
to Tobias Grimm).
|
||||||
- Fixed calculating the start time of repeated timers with "first day" (thanks to
|
- Fixed calculating the start time of repeated timers with "first day" (thanks to
|
||||||
Udo Richter).
|
Udo Richter).
|
||||||
|
- Now setting a timer's cached start time to 0 after a call to Skip() (thanks to
|
||||||
|
Udo Richter).
|
||||||
|
3
timers.c
3
timers.c
@ -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: timers.c 1.60 2006/05/25 12:32:11 kls Exp $
|
* $Id: timers.c 1.61 2006/05/25 14:36:37 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "timers.h"
|
#include "timers.h"
|
||||||
@ -560,6 +560,7 @@ bool cTimer::HasFlags(uint Flags) const
|
|||||||
void cTimer::Skip(void)
|
void cTimer::Skip(void)
|
||||||
{
|
{
|
||||||
day = IncDay(SetTime(StartTime(), 0), 1);
|
day = IncDay(SetTime(StartTime(), 0), 1);
|
||||||
|
startTime = 0;
|
||||||
SetEvent(NULL);
|
SetEvent(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user