summaryrefslogtreecommitdiff
path: root/remux.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-04-19 11:07:07 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-04-19 11:07:07 +0200
commit3f492c4f5732abdb15a193fb610a9a73115a4972 (patch)
tree31002fec1757f4df9cac3bd8bd0af2aaf128cbb5 /remux.h
parent457208b101fd86464018d94f2d97f008069ddabd (diff)
downloadvdr-3f492c4f5732abdb15a193fb610a9a73115a4972.tar.gz
vdr-3f492c4f5732abdb15a193fb610a9a73115a4972.tar.bz2
Implemented TsSetTeiOnBrokenPackets()
Diffstat (limited to 'remux.h')
-rw-r--r--remux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/remux.h b/remux.h
index ccb38821..063acaa6 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.9 2009/03/27 13:38:59 kls Exp $
+ * $Id: remux.h 2.10 2009/04/19 10:57:09 kls Exp $
*/
#ifndef __REMUX_H
@@ -49,6 +49,8 @@ public:
#define TS_ADAPT_TP_PRIVATE 0x02
#define TS_ADAPT_EXTENSION 0x01
+#define MAXPID 0x2000 // for arrays that use a PID as the index
+
inline bool TsHasPayload(const uchar *p)
{
return p[3] & TS_PAYLOAD_EXISTS;
@@ -104,6 +106,7 @@ inline int TsGetAdaptationField(const uchar *p)
// The following functions all take a pointer to a sequence of complete TS packets.
int64_t TsGetPts(const uchar *p, int l);
+void TsSetTeiOnBrokenPackets(uchar *p, int l);
// Some PES handling tools:
// The following functions that take a pointer to PES data all assume that