summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY3
-rw-r--r--recorder.c4
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 <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;