mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Added a sleep in cDvbPlayer::Action() in case there is no data to send to the device
This commit is contained in:
		| @@ -1388,3 +1388,7 @@ Georg Acher <acher@baycom.de> | ||||
| Henrik Niehaus <henrik.niehaus@gmx.de> | ||||
|  for reporting a problem with timers with a day given as MTWTF--@6, i.e. a repeating | ||||
|  timer with first day not as full date, but just day of month | ||||
|  | ||||
| Martin Wache <M.Wache@gmx.net> | ||||
|  for adding a sleep in cDvbPlayer::Action() in case there is no data to send to the | ||||
|  device, which avoids a busy loop on very fast machines | ||||
|   | ||||
							
								
								
									
										5
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -3633,3 +3633,8 @@ Video Disk Recorder Revision History | ||||
| - When drawing a bitmap to the OSD, the existing palette of the target can now be | ||||
|   replaced with the new one instead of adding the new entries (thanks to Andreas | ||||
|   Regel). | ||||
|  | ||||
| 2005-07-30: Version 1.3.28 | ||||
|  | ||||
| - Added a sleep in cDvbPlayer::Action() in case there is no data to send to the | ||||
|   device, which avoids a busy loop on very fast machines (thanks to Martin Wache). | ||||
|   | ||||
							
								
								
									
										6
									
								
								config.h
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								config.h
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: config.h 1.221 2005/06/18 10:29:25 kls Exp $ | ||||
|  * $Id: config.h 1.222 2005/07/30 09:19:25 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #ifndef __CONFIG_H | ||||
| @@ -20,8 +20,8 @@ | ||||
| #include "i18n.h" | ||||
| #include "tools.h" | ||||
|  | ||||
| #define VDRVERSION  "1.3.27" | ||||
| #define VDRVERSNUM   10327  // Version * 10000 + Major * 100 + Minor | ||||
| #define VDRVERSION  "1.3.28" | ||||
| #define VDRVERSNUM   10328  // Version * 10000 + Major * 100 + Minor | ||||
|  | ||||
| #define MAXPRIORITY 99 | ||||
| #define MAXLIFETIME 99 | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: dvbplayer.c 1.34 2005/05/22 11:26:51 kls Exp $ | ||||
|  * $Id: dvbplayer.c 1.35 2005/07/30 09:20:08 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "dvbplayer.h" | ||||
| @@ -497,6 +497,8 @@ void cDvbPlayer::Action(void) | ||||
|                  p = NULL; | ||||
|                  } | ||||
|               } | ||||
|            else | ||||
|               Sleep = true; | ||||
|            } | ||||
|         } | ||||
|   active = running = false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user