Fixed handling repeated kAudio keys

This commit is contained in:
Klaus Schmidinger 2005-02-27 14:12:03 +01:00
parent 87209df391
commit 627e70ce7e
2 changed files with 3 additions and 1 deletions

View File

@ -3441,3 +3441,4 @@ Video Disk Recorder Revision History
- Improved automatic audio track selection.
- Keeping the track language codes and descriptions in Transfer Mode (thanks to
Luca Olivetti).
- Fixed handling repeated kAudio keys.

3
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 1.341 2005/02/20 13:39:49 kls Exp $
* $Id: menu.c 1.342 2005/02/27 14:09:00 kls Exp $
*/
#include "menu.h"
@ -2946,6 +2946,7 @@ eOSState cDisplayTracks::ProcessKey(eKeys Key)
timeout.Set(TRACKTIMEOUT);
}
break;
case kAudio|k_Repeat:
case kAudio:
if (++track >= numTracks)
track = 0;