mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Explicitly switch to the selected audio track with kOk
This commit is contained in:
parent
f37f5ee6be
commit
5274b4c8b3
7
menu.c
7
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user