Re: Lost GLCD-Logo at Playback, Was Is cStatus::OsdChannel called from cEITScanner::Process

Message ID 1125245454.6681.7.camel@wopr.deltab.de
State New
Headers

Commit Message

Andreas Brachold Aug. 28, 2005, 4:10 p.m. UTC
  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
  

Patch

Index: state.c
===================================================================
--- state.c	(Revision 21)
+++ state.c	(Arbeitskopie)
@@ -15,6 +15,7 @@ 
 #include "strfct.h"
 
 #include <vdr/i18n.h>
+#include <vdr/eitscan.h>
 
 #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);
 			}