Added a missing StripAudioPackets() to cDvbPlayer::Action()

This commit is contained in:
Klaus Schmidinger 2002-09-15 13:36:57 +02:00
parent 441258c7ea
commit dde36a3c56
3 changed files with 5 additions and 1 deletions

View File

@ -150,6 +150,7 @@ Stefan Huelswitt <huels@iname.com>
for helping to fix starting a recording of the current channel with only one DVB card
for making cStatus::MsgChannelSwitch() only be called if a channel is actually going to
be switched or has actually been switched successfully
for adding a missing StripAudioPackets() to cDvbPlayer::Action()
Ulrich Röder <roeder@efr-net.de>
for pointing out that there are channels that have a symbol rate higher than

View File

@ -1475,3 +1475,5 @@ Video Disk Recorder Revision History
seconds or more (this avoids bogus entries like "PROGRAMMES ALLEMANDS").
- Fixed opening /dev/video in cDvbDevice::GrabImage() in case of NEWSTRUCT
driver (thanks to Andreas Schultz).
- Added a missing StripAudioPackets() to cDvbPlayer::Action() (thanks to
Stefan Huelswitt).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbplayer.c 1.12 2002/08/24 14:59:35 kls Exp $
* $Id: dvbplayer.c 1.13 2002/09/15 13:33:31 kls Exp $
*/
#include "dvbplayer.h"
@ -353,6 +353,7 @@ void cDvbPlayer::Action(void)
continue;
}
r = ReadFrame(replayFile, b, Length, sizeof(b));
StripAudioPackets(b, r, 0xC0); //XXX+ audioTrack
}
else // allows replay even if the index file is missing
r = read(replayFile, b, sizeof(b));