diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-07 15:44:32 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-07 15:44:32 +0100 |
commit | 7326f697b6fa691dd728d2302bf53333534017e4 (patch) | |
tree | 771d78b54cd63801d762265733304822da2df4f2 | |
parent | bbe24e4e622f8f77e63724b4d624b0a7dc0c7d12 (diff) | |
download | vdr-7326f697b6fa691dd728d2302bf53333534017e4.tar.gz vdr-7326f697b6fa691dd728d2302bf53333534017e4.tar.bz2 |
Changed a variable name
-rw-r--r-- | transfer.c | 6 | ||||
-rw-r--r-- | transfer.h | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: transfer.c 1.21 2005/01/06 16:23:11 kls Exp $ + * $Id: transfer.c 1.22 2005/01/07 15:44:30 kls Exp $ */ #include "transfer.h" @@ -20,7 +20,7 @@ cTransfer::cTransfer(int VPid, int APid1, int APid2, int DPid1, int DPid2) { ringBuffer = new cRingBufferLinear(TRANSFERBUFSIZE, TS_SIZE * 2, true, "Transfer"); remux = new cRemux(VPid, APid1, APid2, DPid1, DPid2); - hasDolby = VPid != 0 && DPid1 != 0; + needsBufferReserve = VPid != 0 && DPid1 != 0; active = false; } @@ -67,7 +67,7 @@ void cTransfer::Action(void) active = true; while (active) { #ifdef FW_NEEDS_BUFFER_RESERVE_FOR_AC3 - if (hasDolby) { + if (needsBufferReserve) { if (IsAttached() && !Cleared) { PlayPes(NULL, 0); Cleared = true; @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: transfer.h 1.7 2005/01/06 16:23:00 kls Exp $ + * $Id: transfer.h 1.8 2005/01/07 15:44:32 kls Exp $ */ #ifndef __TRANSFER_H @@ -20,7 +20,7 @@ class cTransfer : public cReceiver, public cPlayer, public cThread { private: cRingBufferLinear *ringBuffer; cRemux *remux; - bool hasDolby; + bool needsBufferReserve; bool active; protected: virtual void Activate(bool On); |