mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Re-introduced a sleep to cDvbPlayer::Action() to avoid high CPU load in still picture mode
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user