From 458f9bba13f642cf9d811f54f12d8dac1a9f8865 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 20 Mar 2004 10:38:34 +0100 Subject: [PATCH] Fixed handling Setup.RecordDolbyDigital, which was broken since version 1.1.6 --- HISTORY | 3 ++- recorder.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HISTORY b/HISTORY index f6206187..2d3e7ca9 100644 --- a/HISTORY +++ b/HISTORY @@ -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. diff --git a/recorder.c b/recorder.c index b6b9a240..4270fbed 100644 --- a/recorder.c +++ b/recorder.c @@ -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 @@ -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;