summaryrefslogtreecommitdiff
path: root/dvbplayer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-12-13 13:50:56 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-12-13 13:50:56 +0100
commitd3684149ca2a499e46d454a09d015d874366e094 (patch)
tree6c248f82f6d5d11ac792be3c04e53998ad783dd8 /dvbplayer.c
parent140ed23e7e9751b2ed9acbf024ecd967a80e30bf (diff)
downloadvdr-d3684149ca2a499e46d454a09d015d874366e094.tar.gz
vdr-d3684149ca2a499e46d454a09d015d874366e094.tar.bz2
Fixed a busy loop when moving editing marks
Diffstat (limited to 'dvbplayer.c')
-rw-r--r--dvbplayer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dvbplayer.c b/dvbplayer.c
index f4e8dca1..d02884b0 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 2.18 2009/12/05 16:04:04 kls Exp $
+ * $Id: dvbplayer.c 2.19 2009/12/13 13:49:56 kls Exp $
*/
#include "dvbplayer.h"
@@ -404,6 +404,8 @@ void cDvbPlayer::Action(void)
cPoller Poller;
DevicePoll(Poller, 10);
Sleep = false;
+ if (playMode == pmStill || playMode==pmPause)
+ cCondWait::SleepMs(3);
}
{
LOCK_THREAD;