summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'device.c')
-rw-r--r--device.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/device.c b/device.c
index 4db3ddd7..84caf4e1 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 3.6 2014/01/01 11:51:17 kls Exp $
+ * $Id: device.c 3.7 2014/01/02 10:31:58 kls Exp $
*/
#include "device.h"
@@ -1791,3 +1791,9 @@ uchar *cTSBuffer::Get(int *Available)
}
return NULL;
}
+
+void cTSBuffer::Skip(int Count)
+{
+ ringBuffer->Del(Count);
+ delivered = false;
+}