From d3684149ca2a499e46d454a09d015d874366e094 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 13 Dec 2009 13:50:56 +0100 Subject: Fixed a busy loop when moving editing marks --- dvbplayer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dvbplayer.c') 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; -- cgit v1.2.3