summaryrefslogtreecommitdiff
path: root/ringbuffer.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 /ringbuffer.h
parent4c0ab3d3e768cea51748d403e5b7d9ce64b6cbf2 (diff)
downloadvdr-e7ea3b3c70d737ba758527b806c040dbf8ec8e45.tar.gz
vdr-e7ea3b3c70d737ba758527b806c040dbf8ec8e45.tar.bz2
Replaced cBackTrace with cPtsIndex
Diffstat (limited to 'ringbuffer.h')
-rw-r--r--ringbuffer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ringbuffer.h b/ringbuffer.h
index f6664cf8..fa9ccedf 100644
--- a/ringbuffer.h
+++ b/ringbuffer.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ringbuffer.h 1.18 2007/11/17 13:49:34 kls Exp $
+ * $Id: ringbuffer.h 2.1 2009/03/01 11:20:34 kls Exp $
*/
#ifndef __RINGBUFFER_H
@@ -108,8 +108,9 @@ private:
int count;
eFrameType type;
int index;
+ uint32_t pts;
public:
- cFrame(const uchar *Data, int Count, eFrameType = ftUnknown, int Index = -1);
+ cFrame(const uchar *Data, int Count, eFrameType = ftUnknown, int Index = -1, uint32_t Pts = 0);
///< Creates a new cFrame object.
///< If Count is negative, the cFrame object will take ownership of the given
///< Data. Otherwise it will allocate Count bytes of memory and copy Data.
@@ -118,6 +119,7 @@ public:
int Count(void) const { return count; }
eFrameType Type(void) const { return type; }
int Index(void) const { return index; }
+ uint32_t Pts(void) const { return pts; }
};
class cRingBufferFrame : public cRingBuffer {