summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-09-15 13:36:57 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-09-15 13:36:57 +0200
commitdde36a3c56d89d02e023934c0cc2579bbc9f9e9f (patch)
tree182e6952bfd84c5abb7ac8f164f741f358ccbb86
parent441258c7ea2acffd6cd0f4335cdb9e88c1e99508 (diff)
downloadvdr-dde36a3c56d89d02e023934c0cc2579bbc9f9e9f.tar.gz
vdr-dde36a3c56d89d02e023934c0cc2579bbc9f9e9f.tar.bz2
Added a missing StripAudioPackets() to cDvbPlayer::Action()
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--dvbplayer.c3
3 files changed, 5 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index faefb5d2..642d445a 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -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
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));