summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-01-06 14:47:53 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-01-06 14:47:53 +0100
commitf9a2758205490097ba88ec1bccc87a907915da94 (patch)
tree9ad15a66f1342cea0fa860f7a08c86e2ba8c5d58
parent7de7ede26fcabc232d5647b728080fe3c5d9fca2 (diff)
downloadvdr-f9a2758205490097ba88ec1bccc87a907915da94.tar.gz
vdr-f9a2758205490097ba88ec1bccc87a907915da94.tar.bz2
Fixed cPatPmtParser::ParsePmt() to reset vpid and vtype when switching from a video to an audio channel
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY2
-rw-r--r--remux.c3
3 files changed, 6 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 28c0438d..7bc1b740 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1187,6 +1187,8 @@ Reinhard Nissl <rnissl@gmx.de>
for fixing handling the counter in detection of pre 1.3.19 PS data
for adapting the tuning code to the new DVBFE_SET_DELSYS API
for reporting the missing description of the 'S' channel parameter in vdr.5
+ for fixing cPatPmtParser::ParsePmt() to reset vpid and vtype when switching from
+ a video to an audio channel
Richard Robson <richard_robson@beeb.net>
for reporting freezing replay if a timer starts while in Transfer Mode from the
diff --git a/HISTORY b/HISTORY
index 978e97ca..94f22ff7 100644
--- a/HISTORY
+++ b/HISTORY
@@ -5906,3 +5906,5 @@ Video Disk Recorder Revision History
+ cDevice::StillPicture() will now be called with either TS or PES data.
+ cDvbPlayer::Goto() no longer appends a "sequence end code" to the data.
If the output device needs this, it has to take care of it by itself.
+- Fixed cPatPmtParser::ParsePmt() to reset vpid and vtype when switching from
+ a video to an audio channel (thanks to Reinhard Nissl).
diff --git a/remux.c b/remux.c
index c88ee1cf..840f5df7 100644
--- a/remux.c
+++ b/remux.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: remux.c 2.4 2009/01/06 12:39:34 kls Exp $
+ * $Id: remux.c 2.5 2009/01/06 14:46:21 kls Exp $
*/
#include "remux.h"
@@ -395,6 +395,7 @@ void cPatPmtParser::ParsePmt(const uchar *Data, int Length)
int NumApids = 0;
int NumDpids = 0;
int NumSpids = 0;
+ vpid = vtype = 0;
SI::PMT::Stream stream;
for (SI::Loop::Iterator it; Pmt.streamLoop.getNext(stream, it); ) {
dbgpatpmt(" stream type = %02X, pid = %d", stream.getStreamType(), stream.getPid());