From 3f7f4ffb8926058bdbad3fbeaa05bcc641563782 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 23 Jan 2005 14:15:00 +0100 Subject: [PATCH] Fixed DTS detection --- device.c | 4 ++-- 1 file 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); } }