The "Green" button in the "Main" menu is now always "Audio"

This commit is contained in:
Klaus Schmidinger 2005-01-14 14:28:47 +01:00
parent 0fc891340c
commit 1d1b2f1275
2 changed files with 4 additions and 2 deletions

View File

@ -3301,3 +3301,5 @@ Video Disk Recorder Revision History
- Made cCondWait::SleepMs() sleep at least 3ms to avoid a possible busy wait.
- Fixed canceling the LIRC thread (thanks to Marco Schlüßler for pointing out
this one).
- The "Green" button in the "Main" menu is now always "Audio", since the audio
channel might be changed even if there is only one actual audio PID.

4
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.335 2005/01/14 13:13:58 kls Exp $
* $Id: menu.c 1.336 2005/01/14 14:27:29 kls Exp $
*/
#include "menu.h"
@ -2452,7 +2452,7 @@ void cMenuMain::Set(const char *Plugin)
// Color buttons:
SetHelp(!replaying ? tr("Record") : NULL, cDevice::PrimaryDevice()->NumAudioTracks() > 1 ? tr("Audio") : NULL, replaying ? NULL : tr("Pause"), replaying ? tr("Button$Stop") : cReplayControl::LastReplayed() ? tr("Resume") : NULL);
SetHelp(!replaying ? tr("Record") : NULL, tr("Audio"), replaying ? NULL : tr("Pause"), replaying ? tr("Button$Stop") : cReplayControl::LastReplayed() ? tr("Resume") : NULL);
Display();
lastActivity = time(NULL);
}