summaryrefslogtreecommitdiff
path: root/remux.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-12-31 15:35:37 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-12-31 15:35:37 +0100
commit3d7338de5a2e93431296ecfed30821e007d3419b (patch)
tree6c658162ac3b3dd0b1d6777efc0598a670cba5a9 /remux.h
parenta8260204c3e66fe12173f7232feb90ece61a59e8 (diff)
downloadvdr-3d7338de5a2e93431296ecfed30821e007d3419b.tar.gz
vdr-3d7338de5a2e93431296ecfed30821e007d3419b.tar.bz2
cPatPmtParser now also stores the audio stream types
Diffstat (limited to 'remux.h')
-rw-r--r--remux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/remux.h b/remux.h
index eee7d9ec..492395a1 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.22 2009/12/24 12:04:47 kls Exp $
+ * $Id: remux.h 2.23 2009/12/31 15:35:37 kls Exp $
*/
#ifndef __REMUX_H
@@ -215,8 +215,10 @@ private:
int vpid;
int vtype;
int apids[MAXAPIDS + 1]; // list is zero-terminated
+ int atypes[MAXAPIDS + 1]; // list is zero-terminated
char alangs[MAXAPIDS][MAXLANGCODE2];
int dpids[MAXDPIDS + 1]; // list is zero-terminated
+ int dtypes[MAXDPIDS + 1]; // list is zero-terminated
char dlangs[MAXDPIDS][MAXLANGCODE2];
int spids[MAXSPIDS + 1]; // list is zero-terminated
char slangs[MAXSPIDS][MAXLANGCODE2];
@@ -259,6 +261,8 @@ public:
int Apid(int i) const { return (0 <= i && i < MAXAPIDS) ? apids[i] : 0; }
int Dpid(int i) const { return (0 <= i && i < MAXDPIDS) ? dpids[i] : 0; }
int Spid(int i) const { return (0 <= i && i < MAXSPIDS) ? spids[i] : 0; }
+ int Atype(int i) const { return (0 <= i && i < MAXAPIDS) ? atypes[i] : 0; }
+ int Dtype(int i) const { return (0 <= i && i < MAXDPIDS) ? dtypes[i] : 0; }
const char *Alang(int i) const { return (0 <= i && i < MAXAPIDS) ? alangs[i] : ""; }
const char *Dlang(int i) const { return (0 <= i && i < MAXDPIDS) ? dlangs[i] : ""; }
const char *Slang(int i) const { return (0 <= i && i < MAXSPIDS) ? slangs[i] : ""; }