From dde36a3c56d89d02e023934c0cc2579bbc9f9e9f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 15 Sep 2002 13:36:57 +0200 Subject: Added a missing StripAudioPackets() to cDvbPlayer::Action() --- CONTRIBUTORS | 1 + HISTORY | 2 ++ dvbplayer.c | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index faefb5d2..642d445a 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -150,6 +150,7 @@ Stefan Huelswitt 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 for pointing out that there are channels that have a symbol rate higher than diff --git a/HISTORY b/HISTORY index 33d00d89..f8cf060d 100644 --- a/HISTORY +++ b/HISTORY @@ -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). diff --git a/dvbplayer.c b/dvbplayer.c index 7a6d76d3..7edadfbc 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.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)); -- cgit v1.2.3