diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-01-06 14:47:53 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-01-06 14:47:53 +0100 |
commit | f9a2758205490097ba88ec1bccc87a907915da94 (patch) | |
tree | 9ad15a66f1342cea0fa860f7a08c86e2ba8c5d58 /remux.c | |
parent | 7de7ede26fcabc232d5647b728080fe3c5d9fca2 (diff) | |
download | vdr-f9a2758205490097ba88ec1bccc87a907915da94.tar.gz vdr-f9a2758205490097ba88ec1bccc87a907915da94.tar.bz2 |
Fixed cPatPmtParser::ParsePmt() to reset vpid and vtype when switching from a video to an audio channel
Diffstat (limited to 'remux.c')
-rw-r--r-- | remux.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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()); |