diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-26 11:13:10 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-26 11:13:10 +0200 |
commit | ad1e138e5bac20f539725f479a192d66d60827bc (patch) | |
tree | 944c2234b370201133a3439bf96956963ea00ded /device.c | |
parent | a80915ff22ec0103fb95212b0048aa73007f87eb (diff) | |
download | vdr-ad1e138e5bac20f539725f479a192d66d60827bc.tar.gz vdr-ad1e138e5bac20f539725f479a192d66d60827bc.tar.bz2 |
Fixed checking for ttDolbyLast in cDevice::SetCurrentAudioTrack()1.5.9
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.141 2007/06/16 09:31:32 kls Exp $ + * $Id: device.c 1.142 2007/08/26 11:11:42 kls Exp $ */ #include "device.h" @@ -892,7 +892,7 @@ int cDevice::NumAudioTracks(void) const bool cDevice::SetCurrentAudioTrack(eTrackType Type) { - if (ttNone < Type && Type < ttDolbyLast) { + if (ttNone < Type && Type <= ttDolbyLast) { cMutexLock MutexLock(&mutexCurrentAudioTrack); if (IS_DOLBY_TRACK(Type)) SetDigitalAudioDevice(true); |