summaryrefslogtreecommitdiff
path: root/dvbplayer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-02-15 11:01:04 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2003-02-15 11:01:04 +0100
commit63ad7f1c71364f2bbf37f609244a735019841b57 (patch)
tree94afe1623e6022aded05f3406d25cd45ef75e706 /dvbplayer.c
parent8ddaaf98494215f4339726399ffda0d0a597efbf (diff)
downloadvdr-63ad7f1c71364f2bbf37f609244a735019841b57.tar.gz
vdr-63ad7f1c71364f2bbf37f609244a735019841b57.tar.bz2
Fixed high CPU load during replay
Diffstat (limited to 'dvbplayer.c')
-rw-r--r--dvbplayer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/dvbplayer.c b/dvbplayer.c
index 1d140ea9..5aff3511 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 1.17 2003/01/19 15:43:58 kls Exp $
+ * $Id: dvbplayer.c 1.18 2003/02/15 10:38:59 kls Exp $
*/
#include "dvbplayer.h"
@@ -420,8 +420,6 @@ void cDvbPlayer::Action(void)
running = true;
while (running && (NextFile() || readIndex >= 0 || ringBuffer->Available())) {
cPoller Poller;
- if (!readFrame)
- Poller.Add(replayFile, false);
if (DevicePoll(Poller, 100)) {
LOCK_THREAD;
@@ -532,7 +530,7 @@ void cDvbPlayer::Action(void)
backTrace->Add(playFrame->Index(), playFrame->Count());
ringBuffer->Drop(playFrame);
playFrame = NULL;
- p = 0;
+ p = NULL;
}
}
}