From patchwork Sun Aug 28 16:10:54 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Brachold X-Patchwork-Id: 11995 Received: from web1.dns-net.de ([212.91.231.162]) by www.linuxtv.org with esmtp (Exim 4.34) id 1E9Pke-0003TC-7o for vdr@linuxtv.org; Sun, 28 Aug 2005 18:11:20 +0200 Received: from wopr.deltab.de (n115-185.dsl.de.inter.net [213.73.115.185]) by web1.dns-net.de (8.11.6/8.11.6) with ESMTP id j7SGBFr06814; Sun, 28 Aug 2005 18:11:15 +0200 From: Andreas Brachold To: "Klaus Schmidinger's VDR" In-Reply-To: <1124901062.11881.22.camel@wopr.deltab.de> References: <1124897560.11881.7.camel@wopr.deltab.de> <430C948C.1020500@cadsoft.de> <1124901062.11881.22.camel@wopr.deltab.de> Date: Sun, 28 Aug 2005 18:10:54 +0200 Message-Id: <1125245454.6681.7.camel@wopr.deltab.de> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Subject: [vdr] Re: Lost GLCD-Logo at Playback, Was Is cStatus::OsdChannel called from cEITScanner::Process X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Klaus Schmidinger's VDR List-Id: Klaus Schmidinger's VDR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2005 16:11:20 -0000 Status: O X-Status: X-Keywords: X-UID: 4529 Hi, Am Mittwoch, den 24.08.2005, 18:31 +0200 schrieb Andreas Brachold: > attached a patch, so that swichting from channels during playback are > ignored now by Graphlcd Plugin here the same solution for same problem, as alternative patch, inspired by a patch for graphtft. http://www.vdr-portal.de/board/thread.php?postid=349482#post349482 it's replace my prior patch Andreas Index: state.c =================================================================== --- state.c (Revision 21) +++ state.c (Arbeitskopie) @@ -15,6 +15,7 @@ #include "strfct.h" #include +#include #include "compat.h" @@ -72,7 +73,7 @@ { if (ChannelNumber > 0 && Device->IsPrimaryDevice()) { - if (ChannelNumber == cDevice::CurrentChannel()) + if (ChannelNumber == cDevice::CurrentChannel() && !EITScanner.UsesDevice(Device)) { SetChannel(ChannelNumber); }