diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-07-30 09:23:29 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-07-30 09:23:29 +0200 |
commit | af78bac2bb999f2b835048e202d2839102e175ff (patch) | |
tree | 9d34985055f7dca83701a3a24873bb82290f2b4e | |
parent | bef18ac382a8b073310823fc627126b5daf7f8a4 (diff) | |
download | vdr-af78bac2bb999f2b835048e202d2839102e175ff.tar.gz vdr-af78bac2bb999f2b835048e202d2839102e175ff.tar.bz2 |
Added a sleep in cDvbPlayer::Action() in case there is no data to send to the device
-rw-r--r-- | CONTRIBUTORS | 4 | ||||
-rw-r--r-- | HISTORY | 5 | ||||
-rw-r--r-- | config.h | 6 | ||||
-rw-r--r-- | dvbplayer.c | 4 |
4 files changed, 15 insertions, 4 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index cc43b028..45a446b2 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -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 @@ -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). @@ -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 diff --git a/dvbplayer.c b/dvbplayer.c index 2d4e1e48..3082e281 100644 --- a/dvbplayer.c +++ b/dvbplayer.c @@ -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; |