summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2019-05-28 15:54:22 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2019-05-28 15:54:22 +0200
commitc2634a7ccf815bedc26671b803dc571f0544fc73 (patch)
treea1624fe6c0da3ffbdbbbd3d37f4dfd4b1b645e79 /device.h
parente8ae4afd0961cc93cbca3830fe065f6da9d806c9 (diff)
downloadvdr-c2634a7ccf815bedc26671b803dc571f0544fc73.tar.gz
vdr-c2634a7ccf815bedc26671b803dc571f0544fc73.tar.bz2
Fixed inconsistent behavior in case only certain devices are used (selected by the '-D' option)
Diffstat (limited to 'device.h')
-rw-r--r--device.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/device.h b/device.h
index ce0b0d27..39621a3c 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 4.12 2017/11/02 14:47:33 kls Exp $
+ * $Id: device.h 4.13 2019/05/28 14:47:09 kls Exp $
*/
#ifndef __DEVICE_H
@@ -861,12 +861,12 @@ public:
class cTSBuffer : public cThread {
private:
int f;
- int cardIndex;
+ int deviceNumber;
int delivered;
cRingBufferLinear *ringBuffer;
virtual void Action(void);
public:
- cTSBuffer(int File, int Size, int CardIndex);
+ cTSBuffer(int File, int Size, int DeviceNumber);
virtual ~cTSBuffer();
uchar *Get(int *Available = NULL, bool CheckAvailable = false);
///< Returns a pointer to the first TS packet in the buffer. If Available is given,