mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Now setting a timer's cached start time to 0 after a call to Skip()
This commit is contained in:
		@@ -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);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user