Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] VDR: fix for Language select bug



The green button in VDR doesn't work correctly in e.g the Schedule
menu for channels that have two audio PIDs.

Here's a patch for VDR version 0.83 that fixes this:

-----------------------------------------------------------------------------------
--- menu.c      2001/07/12 14:16:43     1.76
+++ menu.c      2001/07/12 14:56:18     1.77
@@ -1768,10 +1768,12 @@
                case kRed:   if (!HasSubMenu())
                                state = osRecord;
                             break;
-               case kGreen: if (cDvbApi::PrimaryDvbApi->CanToggleAudioTrack()) {
-                               Interface->Clear();
-                               cDvbApi::PrimaryDvbApi->ToggleAudioTrack();
-                               state = osEnd;
+               case kGreen: if (!HasSubMenu()) {
+                               if (cDvbApi::PrimaryDvbApi->CanToggleAudioTrack()) {
+                                  Interface->Clear();
+                                  cDvbApi::PrimaryDvbApi->ToggleAudioTrack();
+                                  state = osEnd;
+                                  }
                                }
                             break;
                case kBlue:  if (!HasSubMenu())
-----------------------------------------------------------------------------------

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index