mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed a possible race condition in the cDvbPlayer
This commit is contained in:
parent
17699edebb
commit
9b94097931
@ -156,6 +156,7 @@ Andreas Schultz <aschultz@warp10.net>
|
||||
for fixing a bug in the EPG bugfix mechanism if the extended description is shorter
|
||||
than 3 characters
|
||||
for adding direct access to the index data of cPalette (needed for displaying SPUs)
|
||||
for pointing out a possible race condition in the cDvbPlayer
|
||||
|
||||
Aaron Holtzman
|
||||
for writing 'ac3dec'
|
||||
|
2
HISTORY
2
HISTORY
@ -1375,3 +1375,5 @@ Video Disk Recorder Revision History
|
||||
provide a name to simply use a string that describes the player type (like, e.g.,
|
||||
"DVD").
|
||||
- Fixed a hangup when switching to the next file during replay.
|
||||
- Fixed a possible race condition in the cDvbPlayer (thanks to Andreas Schultz
|
||||
for pointing out this one).
|
||||
|
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user