summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-03-20 10:38:34 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-03-20 10:38:34 +0100
commit458f9bba13f642cf9d811f54f12d8dac1a9f8865 (patch)
tree75683e5b95ff2a4dbdf1922c9fc5cf0234730918
parent25154b62452926c5f558fc5f662168ddbdcd4422 (diff)
downloadvdr-458f9bba13f642cf9d811f54f12d8dac1a9f8865.tar.gz
vdr-458f9bba13f642cf9d811f54f12d8dac1a9f8865.tar.bz2
Fixed handling Setup.RecordDolbyDigital, which was broken since version 1.1.6
-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;