Fixed a busy loop when moving editing marks

This commit is contained in:
Klaus Schmidinger 2009-12-13 13:50:56 +01:00
parent 140ed23e7e
commit d3684149ca
3 changed files with 5 additions and 1 deletions

View File

@ -2478,6 +2478,7 @@ Johann Friedrichs <johann.friedrichs@web.de>
for adding stream type 11172 AUDIO to cPatPmtParser::ParsePmt() for adding stream type 11172 AUDIO to cPatPmtParser::ParsePmt()
for removing the workaround for short channel names of "Kabel Deutschland" for removing the workaround for short channel names of "Kabel Deutschland"
for some fixes to dvbspu.[hc] for some fixes to dvbspu.[hc]
for fixing a busy loop when moving editing marks
Timo Helkio <timolavi@mbnet.fi> Timo Helkio <timolavi@mbnet.fi>
for reporting a hangup when replaying a TS recording with subtitles activated for reporting a hangup when replaying a TS recording with subtitles activated

View File

@ -6218,3 +6218,4 @@ Video Disk Recorder Revision History
apparently they now have their data according to the DVB standard (thanks to apparently they now have their data according to the DVB standard (thanks to
Johann Friedrichs). Johann Friedrichs).
- Some fixes to dvbspu.[hc] (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).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "dvbplayer.h"
@ -404,6 +404,8 @@ void cDvbPlayer::Action(void)
cPoller Poller; cPoller Poller;
DevicePoll(Poller, 10); DevicePoll(Poller, 10);
Sleep = false; Sleep = false;
if (playMode == pmStill || playMode==pmPause)
cCondWait::SleepMs(3);
} }
{ {
LOCK_THREAD; LOCK_THREAD;