mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Re-introduced a sleep to cDvbPlayer::Action() to avoid high CPU load in still picture mode
This commit is contained in:
parent
5c6ed74aff
commit
a05ed03631
@ -890,6 +890,8 @@ Reinhard Nissl <rnissl@gmx.de>
|
||||
for reporting a a crash in the time search mechanism
|
||||
for taking the complete size of available data into account when deciding whether
|
||||
to clear the transfer buffer to avoid overflows
|
||||
for reporting a high CPU load in still picture mode after removing the usleep()
|
||||
call from cDvbPlayer::Action()
|
||||
|
||||
Richard Robson <richard_robson@beeb.net>
|
||||
for reporting freezing replay if a timer starts while in Transfer Mode from the
|
||||
|
4
HISTORY
4
HISTORY
@ -3160,10 +3160,12 @@ Video Disk Recorder Revision History
|
||||
right day of week for timers in the future.
|
||||
- Some improvements to cPoller (thanks to Marco Schlüßler).
|
||||
|
||||
2004-11-26: Version 1.3.18
|
||||
2004-11-27: Version 1.3.18
|
||||
|
||||
- Removed an unused variable from cTimer::GetWDayFromMDay() (thanks to Wayne Keer
|
||||
for reporting this one).
|
||||
- Some more changes to the 'childTid' handling in cThread (based on suggestions by
|
||||
Stefan Huelswitt).
|
||||
- Fixed the spelling of 'canceling' (thanks to Wayne Keer for reporting this one).
|
||||
- Re-introduced a sleep to cDvbPlayer::Action() to avoid high CPU load in still
|
||||
picture mode (thanks to Reinhard Nissl for reporting this one).
|
||||
|
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: dvbplayer.c 1.26 2004/10/23 12:39:35 kls Exp $
|
||||
* $Id: dvbplayer.c 1.27 2004/11/27 10:07:05 kls Exp $
|
||||
*/
|
||||
|
||||
#include "dvbplayer.h"
|
||||
@ -490,6 +490,8 @@ void cDvbPlayer::Action(void)
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
cCondWait::SleepMs(1); // this keeps the CPU load low
|
||||
}
|
||||
|
||||
// Store the frame in the buffer:
|
||||
|
Loading…
Reference in New Issue
Block a user