Fixed handling Setup.RecordDolbyDigital, which was broken since version 1.1.6

This commit is contained in:
Klaus Schmidinger 2004-03-20 10:38:34 +01:00
parent 25154b6245
commit 458f9bba13
2 changed files with 4 additions and 3 deletions

View File

@ -2746,6 +2746,7 @@ Video Disk Recorder Revision History
- Now explicitly turning on the LNB power at startup, because newer drivers don't
do this any more (thanks to Oliver Endriss for pointing this out).
2004-03-14: Version 1.3.7
2004-03-20: Version 1.3.7
- Fixed a memory leak in thread handling when using NPTL (thanks to Jon Burgess).
- Fixed handling Setup.RecordDolbyDigital, which was broken since version 1.1.6.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: recorder.c 1.9 2004/03/07 14:39:25 kls Exp $
* $Id: recorder.c 1.10 2004/03/20 10:33:21 kls Exp $
*/
#include <stdarg.h>
@ -24,7 +24,7 @@
#define DISKCHECKINTERVAL 100 // seconds
cRecorder::cRecorder(const char *FileName, int Ca, int Priority, int VPid, int APid1, int APid2, int DPid1, int DPid2)
:cReceiver(Ca, Priority, 5, VPid, APid1, APid2, DPid1, DPid2)
:cReceiver(Ca, Priority, Setup.RecordDolbyDigital ? 5 : 3, VPid, APid1, APid2, DPid1, DPid2)
,cThread("recording")
{
ringBuffer = NULL;