vdr-1.3.38 and ttxtsubs: menu not visbile in recording if teletext subtitles active

Message ID 43C170E3.6080300@ventoso.org
State New
Headers

Commit Message

Luca Olivetti Jan. 8, 2006, 8:06 p.m. UTC
  As per the subject, if the teletext subtitles are active during replay
it's impossible to select the menu. The attached patch fixes it but I
don't know it it may have other adverse effects (it doesn't seems so here).

Bye
  

Patch

--- vdr.c.orig	2006-01-08 20:22:10.108736322 +0100
+++ vdr.c	2006-01-08 20:22:10.120733789 +0100
@@ -789,10 +789,11 @@ 
                key = kNone; // nobody else needs to see this key
                if (Menu) 
                   DELETE_MENU;
-               else if (cControl::Control() && cOsd::IsOpen())
-                  cControl::Control()->Hide();
-               else
+               else {
+                  if (cControl::Control())
+                     cControl::Control()->Hide();
                   Menu = new cMenuMain;
+                 }
                break;
           // Info:
           case kInfo: {