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 --- CONTRIBUTORS | 1 + HISTORY | 1 + dvbplayer.c | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index a9875cd5..017d43d0 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2478,6 +2478,7 @@ Johann Friedrichs for adding stream type 11172 AUDIO to cPatPmtParser::ParsePmt() for removing the workaround for short channel names of "Kabel Deutschland" for some fixes to dvbspu.[hc] + for fixing a busy loop when moving editing marks Timo Helkio for reporting a hangup when replaying a TS recording with subtitles activated diff --git a/HISTORY b/HISTORY index ded9c141..12bd82ec 100644 --- a/HISTORY +++ b/HISTORY @@ -6218,3 +6218,4 @@ Video Disk Recorder Revision History apparently they now have their data according to the DVB standard (thanks to Johann Friedrichs). - Some fixes to dvbspu.[hc] (thanks to Johann Friedrichs). +- Fixed a busy loop when moving editing marks (thanks to Johann Friedrichs). 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