Added a sleep in cDvbPlayer::Action() in case there is no data to send to the device

This commit is contained in:
Klaus Schmidinger 2005-07-30 09:23:29 +02:00
parent bef18ac382
commit af78bac2bb
4 changed files with 15 additions and 4 deletions

View File

@ -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

View File

@ -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).

View File

@ -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

View File

@ -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;