From 48f33ef612531ce77bcedffeeb3142c1c83b10e4 Mon Sep 17 00:00:00 2001
From: Lawrence Rust <lvr@softsystem.co.uk>
Date: Sat, 23 Jul 2011 13:31:34 +0200
Subject: [PATCH] TV: Restore OSD tuning info during TV startup

This patch restores the OSD tuning info displayed when starting live TV which
was inadvertently removed by commit 226d272eb82eb9d0079c017f8e00906eb925fe8d
TV: Disable tuning OSD after changing channel via NETWORK_CONTROL CHANID.

The functionality of commit 226d272 is preserved.

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
---
 mythtv/libs/libmythtv/tv_play.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mythtv/libs/libmythtv/tv_play.cpp b/mythtv/libs/libmythtv/tv_play.cpp
index 3f6d17d..e81fc14 100644
--- a/mythtv/libs/libmythtv/tv_play.cpp
+++ b/mythtv/libs/libmythtv/tv_play.cpp
@@ -8402,7 +8402,7 @@ void TV::customEvent(QEvent *e)
 
         PlayerContext *mctx = GetPlayerReadLock(0, __FILE__, __LINE__);
         OSD *osd = GetOSDLock(mctx);
-        if (osd && osd->IsWindowVisible("program_info"))
+        if (osd && !osd->IsWindowVisible(OSD_WIN_INTERACT))
         {
             for (uint i = 0; mctx && (i < player.size()); i++)
             {
-- 
1.7.4.1

