summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-01-02 10:47:08 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-01-02 10:47:08 +0100
commita84defe86f2331d42c06abeba17fd4aebe359d94 (patch)
treef0fb2af6a6237ca20a4869312d19e061c0225486 /device.h
parent9dbd953cc239afaf833b977a42f78420ec0fe45a (diff)
downloadvdr-a84defe86f2331d42c06abeba17fd4aebe359d94.tar.gz
vdr-a84defe86f2331d42c06abeba17fd4aebe359d94.tar.bz2
Added support for buffered CAM decryption
Diffstat (limited to 'device.h')
-rw-r--r--device.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/device.h b/device.h
index 1cbd6cc9..368d5cfa 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 3.7 2013/12/28 12:59:13 kls Exp $
+ * $Id: device.h 3.8 2014/01/02 10:47:08 kls Exp $
*/
#ifndef __DEVICE_H
@@ -837,6 +837,13 @@ public:
///< there are at least TS_SIZE bytes in the buffer. Otherwise NULL will be
///< returned and the value in Available (if given) is undefined.
///< Each call to Get() returns a pointer to the next TS packet in the buffer.
+ void Skip(int Count);
+ ///< If after a call to Get() more or less than TS_SIZE of the available data
+ ///< has been processed, a call to Skip() with the number of processed bytes
+ ///< will disable the automatic incrementing of the data pointer as described
+ ///< in Get() and skip the given number of bytes instead. Count may be 0 if the
+ ///< caller wants the previous TS packet to be delivered again in the next call
+ ///< to Get().
};
#endif //__DEVICE_H