From e34ddc507d1973a6974c5aab483ce2e2e0f17812 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 29 Jan 2006 17:26:38 +0100 Subject: [PATCH] Removed leftover 'needsBufferReserve' variable from cTransfer --- CONTRIBUTORS | 1 + HISTORY | 5 +++++ config.h | 6 +++--- transfer.c | 3 +-- transfer.h | 3 +-- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index b6234d2e..8ba79821 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1292,6 +1292,7 @@ Marco Schl for figuring out some obscure length bytes the the CA PMT Reply data of AlphaCrypt CAMs for fixing handling OSD areas that have invalid sizes for removing unused variables in skinclassic.c and skinsttng.c + for removing leftover 'needsBufferReserve' variable from cTransfer Jürgen Schmitz for reporting a bug in displaying the current channel when switching via the SVDRP diff --git a/HISTORY b/HISTORY index 62ab4db6..3834dc59 100644 --- a/HISTORY +++ b/HISTORY @@ -4270,3 +4270,8 @@ Video Disk Recorder Revision History system, it is now tried again after 5 minutes (suggested by Helmut Auer). - Separated the 'install' target into several individual targets; renamed the 'plugins-install' target to 'install-plugins' (thanks to Helmut Auer). + +2006-01-29: Version 1.3.42 + +- Removed leftover 'needsBufferReserve' variable from cTransfer (thanks to Marco + Schlüßler). diff --git a/config.h b/config.h index 9920d00b..187767fe 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.242 2006/01/27 13:27:41 kls Exp $ + * $Id: config.h 1.243 2006/01/29 17:24:53 kls Exp $ */ #ifndef __CONFIG_H @@ -19,8 +19,8 @@ #include "i18n.h" #include "tools.h" -#define VDRVERSION "1.3.41" -#define VDRVERSNUM 10341 // Version * 10000 + Major * 100 + Minor +#define VDRVERSION "1.3.42" +#define VDRVERSNUM 10342 // Version * 10000 + Major * 100 + Minor #define MAXPRIORITY 99 #define MAXLIFETIME 99 diff --git a/transfer.c b/transfer.c index b8313df0..afaccd15 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.32 2006/01/28 14:23:38 kls Exp $ + * $Id: transfer.c 1.33 2006/01/29 17:24:39 kls Exp $ */ #include "transfer.h" @@ -20,7 +20,6 @@ cTransfer::cTransfer(int VPid, const int *APids, const int *DPids, const int *SP { ringBuffer = new cRingBufferLinear(TRANSFERBUFSIZE, TS_SIZE * 2, true, "Transfer"); remux = new cRemux(VPid, APids, Setup.UseDolbyDigital ? DPids : NULL, SPids); - needsBufferReserve = Setup.UseDolbyDigital && VPid != 0 && DPids && DPids[0] != 0; } cTransfer::~cTransfer() diff --git a/transfer.h b/transfer.h index fa88f122..7210ac07 100644 --- a/transfer.h +++ b/transfer.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: transfer.h 1.10 2005/08/13 10:16:02 kls Exp $ + * $Id: transfer.h 1.11 2006/01/29 17:24:43 kls Exp $ */ #ifndef __TRANSFER_H @@ -20,7 +20,6 @@ class cTransfer : public cReceiver, public cPlayer, public cThread { private: cRingBufferLinear *ringBuffer; cRemux *remux; - bool needsBufferReserve; protected: virtual void Activate(bool On); virtual void Receive(uchar *Data, int Length);