summaryrefslogtreecommitdiff
path: root/ringbuffer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-11-03 11:05:15 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-11-03 11:05:15 +0100
commitd78d555b271078c10c2d2ad9b7f47d326f9bab8c (patch)
treeb2820d9a3a6c54eac3f6058e0107e0a5c764e694 /ringbuffer.c
parent57bd015bcb3259e5850d80422851f98d96cfdf2a (diff)
downloadvdr-d78d555b271078c10c2d2ad9b7f47d326f9bab8c.tar.gz
vdr-d78d555b271078c10c2d2ad9b7f47d326f9bab8c.tar.bz2
Added PTS to the converted PCM audio when replaying a DVD
Diffstat (limited to 'ringbuffer.c')
-rw-r--r--ringbuffer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ringbuffer.c b/ringbuffer.c
index 7e09b2af..8b8420c1 100644
--- a/ringbuffer.c
+++ b/ringbuffer.c
@@ -7,7 +7,7 @@
* Parts of this file were inspired by the 'ringbuffy.c' from the
* LinuxDVB driver (see linuxtv.org).
*
- * $Id: ringbuffer.c 1.4 2001/08/05 12:17:45 kls Exp $
+ * $Id: ringbuffer.c 1.5 2001/11/03 09:50:46 kls Exp $
*/
#include "ringbuffer.h"
@@ -215,9 +215,10 @@ int cRingBufferLinear::Get(uchar *Data, int Count)
// --- cFrame ----------------------------------------------------------------
-cFrame::cFrame(const uchar *Data, int Count, int Index)
+cFrame::cFrame(const uchar *Data, int Count, eFrameType Type, int Index)
{
count = Count;
+ type = Type;
index = Index;
data = new uchar[count];
if (data)