summaryrefslogtreecommitdiff
path: root/transfer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-08-14 11:24:57 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-08-14 11:24:57 +0200
commitaf54ce4842850f228d2ac85cb47e6339fd36e9c1 (patch)
tree5bcf8cb26d825d4e8f4d84b504cd502cfb2bd6e9 /transfer.c
parent8fe90254f6843fedab11f4bbf7f83090e341f6eb (diff)
downloadvdr-af54ce4842850f228d2ac85cb47e6339fd36e9c1.tar.gz
vdr-af54ce4842850f228d2ac85cb47e6339fd36e9c1.tar.bz2
Changed cThread Active() vs. Running()
Diffstat (limited to 'transfer.c')
-rw-r--r--transfer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/transfer.c b/transfer.c
index 89143c47..f34dea7d 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.29 2005/08/13 11:19:46 kls Exp $
+ * $Id: transfer.c 1.30 2005/08/14 10:55:03 kls Exp $
*/
#include "transfer.h"
@@ -41,9 +41,9 @@ void cTransfer::Activate(bool On)
void cTransfer::Receive(uchar *Data, int Length)
{
- if (IsAttached() && Active()) {
+ if (IsAttached() && Running()) {
int p = ringBuffer->Put(Data, Length);
- if (p != Length && Active())
+ if (p != Length && Running())
ringBuffer->ReportOverflow(Length - p);
return;
}
@@ -65,7 +65,7 @@ void cTransfer::Action(void)
bool GotBufferReserve = false;
int RequiredBufferReserve = KILOBYTE(DvbCardWith4MBofSDRAM ? 288 : 576);
#endif
- while (Active()) {
+ while (Running()) {
#ifdef FW_NEEDS_BUFFER_RESERVE_FOR_AC3
if (needsBufferReserve && !GotBufferReserve) {
//XXX For dolby we've to fill the buffer because the firmware does