Ticket #9933: 0001-TV-Restore-OSD-tuning-info-during-TV-startup.patch

File 0001-TV-Restore-OSD-tuning-info-during-TV-startup.patch, 1.2 KB (added by Lawrence Rust <lvr@…>, 13 years ago)
  • mythtv/libs/libmythtv/tv_play.cpp

    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 b void TV::customEvent(QEvent *e) 
    84028402
    84038403        PlayerContext *mctx = GetPlayerReadLock(0, __FILE__, __LINE__);
    84048404        OSD *osd = GetOSDLock(mctx);
    8405         if (osd && osd->IsWindowVisible("program_info"))
     8405        if (osd && !osd->IsWindowVisible(OSD_WIN_INTERACT))
    84068406        {
    84078407            for (uint i = 0; mctx && (i < player.size()); i++)
    84088408            {