summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-06 14:56:08 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-06 14:56:08 +0100
commit05bd062f792b1c4d1b7b4222c84d239584a1dc60 (patch)
tree04805034fa8e45bd348cb4c928d5aaa736b08960 /device.c
parent723537ccc8959a5576db9b7c7c6e510e08f699c4 (diff)
downloadvdr-05bd062f792b1c4d1b7b4222c84d239584a1dc60.tar.gz
vdr-05bd062f792b1c4d1b7b4222c84d239584a1dc60.tar.bz2
Fixed handling preferred audio language when switching via Channels menu to the same channel
Diffstat (limited to 'device.c')
-rw-r--r--device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/device.c b/device.c
index bc551b65..e217ceb3 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.68 2005/01/06 13:30:30 kls Exp $
+ * $Id: device.c 1.69 2005/01/06 14:56:08 kls Exp $
*/
#include "device.h"
@@ -543,6 +543,7 @@ eSetChannelResult cDevice::SetChannel(const cChannel *Channel, bool LiveView)
if (LiveView && IsPrimaryDevice()) {
// Set the available audio tracks:
ClrAvailableTracks();
+ currentAudioTrack = ttAudioFirst;
for (int i = 0; i < MAXAPIDS; i++) {
SetAvailableTrack(ttAudio, i, Channel->Apid(i), Channel->Alang(i));
SetAvailableTrack(ttDolby, i, Channel->Dpid(i), Channel->Dlang(i));