diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-01-02 10:47:08 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-01-02 10:47:08 +0100 |
commit | a84defe86f2331d42c06abeba17fd4aebe359d94 (patch) | |
tree | f0fb2af6a6237ca20a4869312d19e061c0225486 /device.h | |
parent | 9dbd953cc239afaf833b977a42f78420ec0fe45a (diff) | |
download | vdr-a84defe86f2331d42c06abeba17fd4aebe359d94.tar.gz vdr-a84defe86f2331d42c06abeba17fd4aebe359d94.tar.bz2 |
Added support for buffered CAM decryption
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |