From b6e0d61d7a8809be628e8fce6ac44a05d44fad10 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 22 Mar 2017 14:30:34 +0100 Subject: [PATCH] lcd4l: try to fix display of webtv-channels on external lcd Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/a79dbe65575eeaabec9557e966e69f6aab03c416 Author: vanhofen Date: 2017-03-22 (Wed, 22 Mar 2017) Origin message was: ------------------ - lcd4l: try to fix display of webtv-channels on external lcd ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/lcd4l.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/lcd4l.cpp b/src/gui/lcd4l.cpp index 209cb505d..b92a94641 100644 --- a/src/gui/lcd4l.cpp +++ b/src/gui/lcd4l.cpp @@ -917,7 +917,11 @@ uint64_t CLCD4l::GetParseID() if (m_ModeChannel > 1) ID = g_RemoteControl->subChannels[g_RemoteControl->selected_subchannel].getChannelID(); else - ID = CZapit::getInstance()->GetCurrentChannelID(); + { + CZapitChannel * channel = CZapit::getInstance()->GetCurrentChannel(); + if (channel) + ID = channel->getEpgID(); + } } //printf("[CLCD4l] %s: %llx\n", __FUNCTION__, ID); return ID;