summaryrefslogtreecommitdiff
path: root/dvbplayer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-07-14 14:35:16 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-07-14 14:35:16 +0200
commit9b94097931e55794de02a6abc4d0defef82427b0 (patch)
treed2554cbc33ffb37a89c5f51e02c7df2dcb88e1f0 /dvbplayer.c
parent17699edebbb2a123044ce30775eaf984ef9f7bd9 (diff)
downloadvdr-9b94097931e55794de02a6abc4d0defef82427b0.tar.gz
vdr-9b94097931e55794de02a6abc4d0defef82427b0.tar.bz2
Fixed a possible race condition in the cDvbPlayer
Diffstat (limited to 'dvbplayer.c')
-rw-r--r--dvbplayer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/dvbplayer.c b/dvbplayer.c
index d840543a..af6b28da 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.6 2002/07/14 12:24:59 kls Exp $
+ * $Id: dvbplayer.c 1.7 2002/07/14 14:30:36 kls Exp $
*/
#include "dvbplayer.h"
@@ -132,7 +132,7 @@ cDvbPlayer::cDvbPlayer(const char *FileName)
backTrace = NULL;
index = NULL;
eof = false;
- active = false;
+ active = true;
playMode = pmPlay;
playDir = pdForward;
trickSpeed = NORMAL_SPEED;
@@ -292,7 +292,6 @@ void cDvbPlayer::Activate(bool On)
void cDvbPlayer::Action(void)
{
- active = true;
dsyslog("dvbplayer thread started (pid=%d)", getpid());
uchar b[MAXFRAMESIZE];