diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-04 12:52:17 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-04 12:52:17 +0100 |
commit | 5274b4c8b332c155f7510ca443e2e5768c49cae4 (patch) | |
tree | 92b62b7c22bb72c9d1f5cef48ddaeb4bd92fbdc6 | |
parent | f37f5ee6be4889e8adc849552ce32036b4151185 (diff) | |
download | vdr-5274b4c8b332c155f7510ca443e2e5768c49cae4.tar.gz vdr-5274b4c8b332c155f7510ca443e2e5768c49cae4.tar.bz2 |
Explicitly switch to the selected audio track with kOk
-rw-r--r-- | menu.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.325 2005/01/04 11:11:16 kls Exp $ + * $Id: menu.c 1.326 2005/01/04 12:52:17 kls Exp $ */ #include "menu.h" @@ -2872,6 +2872,11 @@ eOSState cDisplayTracks::ProcessKey(eKeys Key) track = 0; timeout.Set(TRACKTIMEOUT); break; + case kOk: + if (track != cDevice::PrimaryDevice()->GetCurrentAudioTrack()) + oldTrack = -1; // make sure we explicitly switch to that track + timeout.Set(); + break; case kNone: break; default: return osEnd; } |