summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'device.h')
-rw-r--r--device.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/device.h b/device.h
index 34a16d85..d1bf3571 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h,v 1.56 2010-03-15 11:43:26 phintuka Exp $
+ * $Id: device.h,v 1.57 2010-03-15 12:26:53 phintuka Exp $
*
*/
@@ -14,6 +14,7 @@
#include <vdr/config.h>
#include <vdr/device.h>
#include <vdr/tools.h>
+#include <vdr/thread.h>
class cXinelibStatusMonitor;
class cXinelibThread;
@@ -250,10 +251,12 @@ class cXinelibDevice : public cDevice
#if VDRVERSNUM >= 10701
/* join multiple TS packets to xineliboutput transport packet */
+ cMutex m_TsBufLock;
uint8_t m_TsBuf[4096];
uint m_TsBufSize;
+
int TsBufferFlush(void);
- void TsBufferClear(void) { m_TsBufSize = 0; };
+ void TsBufferClear(void);
int PlayTsAny(const uchar *Data, int Length);