summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-04 12:52:17 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-04 12:52:17 +0100
commit5274b4c8b332c155f7510ca443e2e5768c49cae4 (patch)
tree92b62b7c22bb72c9d1f5cef48ddaeb4bd92fbdc6
parentf37f5ee6be4889e8adc849552ce32036b4151185 (diff)
downloadvdr-5274b4c8b332c155f7510ca443e2e5768c49cae4.tar.gz
vdr-5274b4c8b332c155f7510ca443e2e5768c49cae4.tar.bz2
Explicitly switch to the selected audio track with kOk
-rw-r--r--menu.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 3dbb2a07..54c45011 100644
--- a/menu.c
+++ b/menu.c
@@ -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;
}