mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
Revert "second try to fix reloadchannels segfault with alternate_logos"
This reverts commit f58fc736fe
.
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
#include <errno.h>
|
||||
#include <cs_api.h>
|
||||
#include <sys/sysinfo.h>
|
||||
#include <zapit/zapit.h>
|
||||
|
||||
#ifdef FBV_SUPPORT_GIF
|
||||
extern int fh_gif_getsize (const char *, int *, int *, int, int);
|
||||
@@ -626,7 +625,7 @@ bool CPictureViewer::GetLogoName(const uint64_t &ChannelID, const std::string &C
|
||||
|
||||
CZapitChannel * cc = NULL;
|
||||
if (name.compare("alternate_logos") != 0 && ChannelID && CNeutrinoApp::getInstance()->channelList)
|
||||
cc = CServiceManager::getInstance()->FindChannel(ChannelID);
|
||||
cc = CNeutrinoApp::getInstance()->channelList->getChannel(ChannelID);
|
||||
|
||||
if (cc)
|
||||
{
|
||||
|
@@ -1127,7 +1127,7 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
||||
CZapitChannel * cc = NULL;
|
||||
if (channel->getChannelID() & 0xFFFFFFFFFFFFULL)
|
||||
if (CNeutrinoApp::getInstance()->channelList)
|
||||
cc = CServiceManager::getInstance()->FindChannel(channel->getChannelID());
|
||||
cc = CNeutrinoApp::getInstance()->channelList->getChannel(channel->getChannelID());
|
||||
|
||||
if (cc)
|
||||
{
|
||||
|
Reference in New Issue
Block a user