mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Toggling a mark now restarts the timeout of the replay progress display
This commit is contained in:
		
							
								
								
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							@@ -6967,3 +6967,4 @@ Video Disk Recorder Revision History
 | 
			
		||||
  Frank Neumann).
 | 
			
		||||
- The replay progress display is now turned on whenever a mark is toggled (not
 | 
			
		||||
  only when one is set).
 | 
			
		||||
- Toggling a mark now restarts the timeout of the replay progress display.
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5
									
								
								menu.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								menu.c
									
									
									
									
									
								
							@@ -4,7 +4,7 @@
 | 
			
		||||
 * See the main source file 'vdr.c' for copyright information and
 | 
			
		||||
 * how to reach the author.
 | 
			
		||||
 *
 | 
			
		||||
 * $Id: menu.c 2.40 2012/03/03 14:47:32 kls Exp $
 | 
			
		||||
 * $Id: menu.c 2.41 2012/03/03 15:00:41 kls Exp $
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "menu.h"
 | 
			
		||||
@@ -4513,6 +4513,8 @@ void cReplayControl::ShowTimed(int Seconds)
 | 
			
		||||
     shown = ShowProgress(true);
 | 
			
		||||
     timeoutShow = (shown && Seconds > 0) ? time(NULL) + Seconds : 0;
 | 
			
		||||
     }
 | 
			
		||||
  else if (timeoutShow && Seconds > 0)
 | 
			
		||||
     timeoutShow = time(NULL) + Seconds;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void cReplayControl::Show(void)
 | 
			
		||||
@@ -4531,6 +4533,7 @@ void cReplayControl::Hide(void)
 | 
			
		||||
     lastPlay = lastForward = false;
 | 
			
		||||
     lastSpeed = -2; // an invalid value
 | 
			
		||||
     timeSearchActive = false;
 | 
			
		||||
     timeoutShow = 0;
 | 
			
		||||
     }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user