summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-02-24 11:55:24 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-02-24 11:55:24 +0100
commit7f3c58f857ef4fa8f5f57c530f4083ac1b2a06b9 (patch)
tree54a4132559124c8666918117cae247032b3e3e4a /dvbapi.c
parent67cbbd7ba383513f1c6e95b90b3495b4ea3b2733 (diff)
downloadvdr-7f3c58f857ef4fa8f5f57c530f4083ac1b2a06b9.tar.gz
vdr-7f3c58f857ef4fa8f5f57c530f4083ac1b2a06b9.tar.bz2
New Setup parameter RecordDolbyDigital
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dvbapi.c b/dvbapi.c
index 8392a9b5..813c588f 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -7,7 +7,7 @@
* DVD support initially written by Andreas Schultz <aschultz@warp10.net>
* based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si>
*
- * $Id: dvbapi.c 1.150 2002/02/23 13:11:13 kls Exp $
+ * $Id: dvbapi.c 1.151 2002/02/24 11:53:17 kls Exp $
*/
//#define DVDDEBUG 1
@@ -3102,9 +3102,9 @@ bool cDvbApi::SetPids(bool ForRecording)
{
return SetVpid(vPid, ForRecording ? DMX_OUT_TS_TAP : DMX_OUT_DECODER) &&
SetApid1(aPid1, ForRecording ? DMX_OUT_TS_TAP : DMX_OUT_DECODER) &&
- SetApid2(ForRecording ? aPid2 : 0, DMX_OUT_TS_TAP) &&
+ SetApid2(ForRecording ? aPid2 : 0, DMX_OUT_TS_TAP) && (!Setup.RecordDolbyDigital ||
SetDpid1(ForRecording ? dPid1 : 0, DMX_OUT_TS_TAP) &&
- SetDpid2(ForRecording ? dPid2 : 0, DMX_OUT_TS_TAP);
+ SetDpid2(ForRecording ? dPid2 : 0, DMX_OUT_TS_TAP));
}
eSetChannelResult cDvbApi::SetChannel(int ChannelNumber, int Frequency, char Polarization, int Diseqc, int Srate, int Vpid, int Apid1, int Apid2, int Dpid1, int Dpid2, int Tpid, int Ca, int Pnr)