summaryrefslogtreecommitdiff
path: root/remux.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-03-13 14:45:12 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-03-13 14:45:12 +0100
commite7ea3b3c70d737ba758527b806c040dbf8ec8e45 (patch)
treefb1557cfc75aebfff871f177ceccef12663b3981 /remux.h
parent4c0ab3d3e768cea51748d403e5b7d9ce64b6cbf2 (diff)
downloadvdr-e7ea3b3c70d737ba758527b806c040dbf8ec8e45.tar.gz
vdr-e7ea3b3c70d737ba758527b806c040dbf8ec8e45.tar.bz2
Replaced cBackTrace with cPtsIndex
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 8cb1223a..b41b4c8d 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.7 2009/01/24 13:38:10 kls Exp $
+ * $Id: remux.h 2.8 2009/03/08 12:05:12 kls Exp $
*/
#ifndef __REMUX_H
@@ -101,6 +101,10 @@ inline int TsGetAdaptationField(const uchar *p)
return TsHasAdaptationField(p) ? p[5] : 0x00;
}
+// The following functions all take a pointer to a sequence of complete TS packets.
+
+int64_t TsGetPts(const uchar *p, int l);
+
// Some PES handling tools:
// The following functions that take a pointer to PES data all assume that
// there is enough data so that PesLongEnough() returns true.