summaryrefslogtreecommitdiff
path: root/recorder.c
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 /recorder.c
parent25154b62452926c5f558fc5f662168ddbdcd4422 (diff)
downloadvdr-458f9bba13f642cf9d811f54f12d8dac1a9f8865.tar.gz
vdr-458f9bba13f642cf9d811f54f12d8dac1a9f8865.tar.bz2
Fixed handling Setup.RecordDolbyDigital, which was broken since version 1.1.6
Diffstat (limited to 'recorder.c')
-rw-r--r--recorder.c4
1 files changed, 2 insertions, 2 deletions
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;