summaryrefslogtreecommitdiff
path: root/transfer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-10-18 12:29:08 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-10-18 12:29:08 +0200
commite53e43d2b85095ec24e89fb8721d9c92e13ed930 (patch)
treeed5b2d1614a146e986ad2fee4b8933b52cb160b5 /transfer.c
parent15816ee8e4a1be96bba1da9199739f1666a87703 (diff)
downloadvdr-e53e43d2b85095ec24e89fb8721d9c92e13ed930.tar.gz
vdr-e53e43d2b85095ec24e89fb8721d9c92e13ed930.tar.bz2
The cThread class now accepts a 'Description' parameter
Diffstat (limited to 'transfer.c')
-rw-r--r--transfer.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/transfer.c b/transfer.c
index 3e24dccd..1209dfca 100644
--- a/transfer.c
+++ b/transfer.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: transfer.c 1.14 2003/08/31 12:19:16 kls Exp $
+ * $Id: transfer.c 1.15 2003/10/18 11:36:03 kls Exp $
*/
#include "transfer.h"
@@ -19,6 +19,7 @@
cTransfer::cTransfer(int VPid, int APid1, int APid2, int DPid1, int DPid2)
:cReceiver(0, -1, 5, VPid, APid1, APid2, DPid1, DPid2)
+,cThread("transfer")
{
ringBuffer = new cRingBufferLinear(VIDEOBUFSIZE, TS_SIZE * 2, true);
remux = new cRemux(VPid, APid1, APid2, DPid1, DPid2);
@@ -66,8 +67,6 @@ void cTransfer::Receive(uchar *Data, int Length)
void cTransfer::Action(void)
{
- dsyslog("transfer thread started (pid=%d)", getpid());
-
int PollTimeouts = 0;
active = true;
while (active) {
@@ -125,8 +124,6 @@ void cTransfer::Action(void)
else
usleep(1); // this keeps the CPU load low
}
-
- dsyslog("transfer thread ended (pid=%d)", getpid());
}
void cTransfer::StripAudioPackets(uchar *b, int Length, uchar Except)