summaryrefslogtreecommitdiff
path: root/remux.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-06-06 13:26:23 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-06-06 13:26:23 +0200
commit96d25c3be1ead9d1ecd6e1ffadfb57aa42b22c2b (patch)
tree30b3239ede65e33bfeb36029502c5beb31afb387 /remux.h
parent1f798b0f8e4735fb1c444379f2cfa968e85ccd3a (diff)
downloadvdr-96d25c3be1ead9d1ecd6e1ffadfb57aa42b22c2b.tar.gz
vdr-96d25c3be1ead9d1ecd6e1ffadfb57aa42b22c2b.tar.bz2
Fixed unwanted track modifications when parsing PAT/PMT for recording
Diffstat (limited to 'remux.h')
-rw-r--r--remux.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/remux.h b/remux.h
index 44ac9cbc..0dd1a9ab 100644
--- a/remux.h
+++ b/remux.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: remux.h 2.16 2009/05/24 15:07:44 kls Exp $
+ * $Id: remux.h 2.17 2009/06/06 13:26:23 kls Exp $
*/
#ifndef __REMUX_H
@@ -213,10 +213,11 @@ private:
int pmtPid;
int vpid;
int vtype;
+ bool updatePrimaryDevice;
protected:
int SectionLength(const uchar *Data, int Length) { return (Length >= 3) ? ((int(Data[1]) & 0x0F) << 8)| Data[2] : 0; }
public:
- cPatPmtParser(void);
+ cPatPmtParser(bool UpdatePrimaryDevice = false);
void Reset(void);
///< Resets the parser. This function must be called whenever a new
///< stream is parsed.