diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-04-19 11:07:07 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-04-19 11:07:07 +0200 |
commit | 3f492c4f5732abdb15a193fb610a9a73115a4972 (patch) | |
tree | 31002fec1757f4df9cac3bd8bd0af2aaf128cbb5 /remux.h | |
parent | 457208b101fd86464018d94f2d97f008069ddabd (diff) | |
download | vdr-3f492c4f5732abdb15a193fb610a9a73115a4972.tar.gz vdr-3f492c4f5732abdb15a193fb610a9a73115a4972.tar.bz2 |
Implemented TsSetTeiOnBrokenPackets()
Diffstat (limited to 'remux.h')
-rw-r--r-- | remux.h | 5 |
1 files changed, 4 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.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 |