summaryrefslogtreecommitdiff
path: root/demux.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2009-09-20 20:30:22 +0200
committerJochen Dolze <vdr@dolze.de>2009-09-20 20:30:22 +0200
commit27b768a40f33b229ee832d22f24696565b812f98 (patch)
treed03fec9e719028d9805e143956b38180c1b5920e /demux.h
downloadvdr-plugin-markad-27b768a40f33b229ee832d22f24696565b812f98.tar.gz
vdr-plugin-markad-27b768a40f33b229ee832d22f24696565b812f98.tar.bz2
First commit
Diffstat (limited to 'demux.h')
-rw-r--r--demux.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/demux.h b/demux.h
new file mode 100644
index 0000000..11e0b91
--- /dev/null
+++ b/demux.h
@@ -0,0 +1,30 @@
+/*
+ * demux.h: A plugin for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ * $Id$
+ */
+
+#ifndef __demux_h_
+#define __demux_h_
+
+#include "global.h"
+#include "ts2pes.h"
+#include "pes2audioes.h"
+
+class cMarkAdDemux
+{
+private:
+ cMarkAdTS2PES *ts2pes;
+ cMarkAdPES2AudioES *pes2audioes;
+ uchar *pespkt;
+ uchar *pesptr; // pointer into pespkt
+ int peslen;
+public:
+ cMarkAdDemux();
+ ~cMarkAdDemux();
+ int Process(int Pid, uchar *Data, int Count, uchar **Pkt, int *PktLen);
+};
+
+#endif