mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-12 07:53:43 +02:00
third time try to fix reloadchannels segfault with alternate_logos
This commit is contained in:
@@ -192,6 +192,7 @@ public:
|
||||
|
||||
void SetChannelList(ZapitChannelList* zlist);
|
||||
void addChannel(CZapitChannel* chan);
|
||||
void ClearChannelList(){if (!(*chanlist).empty()) (*chanlist).clear();};
|
||||
|
||||
CZapitChannel* getChannel(int number);
|
||||
CZapitChannel* getChannel(t_channel_id channel_id);
|
||||
|
@@ -1127,7 +1127,7 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
||||
CZapitChannel * cc = NULL;
|
||||
if (channel->getChannelID() & 0xFFFFFFFFFFFFULL)
|
||||
if (CNeutrinoApp::getInstance()->channelList)
|
||||
cc = CNeutrinoApp::getInstance()->channelList->getChannel(channel->getChannelID());
|
||||
cc = CServiceManager::getInstance()->FindChannel(channel->getChannelID());
|
||||
|
||||
if (cc)
|
||||
{
|
||||
|
Reference in New Issue
Block a user