summaryrefslogtreecommitdiff
path: root/remux.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-02-28 14:42:07 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-02-28 14:42:07 +0100
commit9424ab26a67d40a5fe183535f9a881216ad721f9 (patch)
tree4bb985171cf32489c3d32effdf9968f26359fe92 /remux.c
parent7506867fbe30b772c025ef8dc29cba3d4ec65b7f (diff)
downloadvdr-9424ab26a67d40a5fe183535f9a881216ad721f9.tar.gz
vdr-9424ab26a67d40a5fe183535f9a881216ad721f9.tar.bz2
The option "Setup/DVB/Use Dolby Digital" now only controls whether Dolby Digital tracks appear in the "Audio" menu1.7.13
Diffstat (limited to 'remux.c')
-rw-r--r--remux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/remux.c b/remux.c
index 070a06ae..2532c638 100644
--- a/remux.c
+++ b/remux.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: remux.c 2.41 2010/01/30 10:43:12 kls Exp $
+ * $Id: remux.c 2.42 2010/02/28 14:42:07 kls Exp $
*/
#include "remux.h"
@@ -601,7 +601,7 @@ void cPatPmtParser::ParsePmt(const uchar *Data, int Length)
dpids[NumDpids] = dpid;
dtypes[NumDpids] = stream.getStreamType();
strn0cpy(dlangs[NumDpids], lang, sizeof(dlangs[NumDpids]));
- if (updatePrimaryDevice)
+ if (updatePrimaryDevice && Setup.UseDolbyDigital)
cDevice::PrimaryDevice()->SetAvailableTrack(ttDolby, NumDpids, dpid, lang);
NumDpids++;
dpids[NumDpids]= 0;