summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-23 14:15:00 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-23 14:15:00 +0100
commit3f7f4ffb8926058bdbad3fbeaa05bcc641563782 (patch)
tree09746910695ff749831bf773e405d3ea749afdaa
parent1743213a1d73cbaf076b84d69b9e53de28d1337b (diff)
downloadvdr-3f7f4ffb8926058bdbad3fbeaa05bcc641563782.tar.gz
vdr-3f7f4ffb8926058bdbad3fbeaa05bcc641563782.tar.bz2
Fixed DTS detection
-rw-r--r--device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device.c b/device.c
index c1dc7aba..9214eead 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 1.77 2005/01/23 14:10:15 kls Exp $
+ * $Id: device.c 1.78 2005/01/23 14:15:00 kls Exp $
*/
#include "device.h"
@@ -863,7 +863,7 @@ int cDevice::PlayPesPacket(const uchar *Data, int Length, bool VideoOnly)
SetAvailableTrack(ttDolby, SubStreamIndex, SubStreamId);
if (!VideoOnly && SubStreamId == availableTracks[currentAudioTrack].id) {
w = PlayAudio(Start, d);
- if (FirstLoop && !(SubStreamId & 0x80)) // no DTS
+ if (FirstLoop && !(SubStreamId & 0x08)) // no DTS
Audios.PlayAudio(Data, Length);
}
}