mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
webtv: fix segfault while reload
Origin commit data
------------------
Commit: 685c42ad90
Author: TangoCash <eric@loxat.de>
Date: 2018-09-24 (Mon, 24 Sep 2018)
Origin message was:
------------------
-webtv: fix segfault while reload
This commit is contained in:
@@ -660,7 +660,7 @@ bool CPictureViewer::GetLogoName(const uint64_t& channel_id, const std::string&
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cc)
|
if (cc && (name.compare("m3u_loading_logos") != 0))
|
||||||
{
|
{
|
||||||
if (!cc->getAlternateLogo().empty())
|
if (!cc->getAlternateLogo().empty())
|
||||||
{
|
{
|
||||||
|
@@ -1050,6 +1050,7 @@ void CBouquetManager::loadWebchannels(int mode)
|
|||||||
}
|
}
|
||||||
CZapitChannel * channel = new CZapitChannel(title.c_str(), chid, url, desc.c_str(), chid, epg_script.c_str(), mode);
|
CZapitChannel * channel = new CZapitChannel(title.c_str(), chid, url, desc.c_str(), chid, epg_script.c_str(), mode);
|
||||||
CServiceManager::getInstance()->AddChannel(channel);
|
CServiceManager::getInstance()->AddChannel(channel);
|
||||||
|
desc = "m3u_loading_logos";
|
||||||
if (!alogo.empty() && !g_PicViewer->GetLogoName(chid,title,desc))
|
if (!alogo.empty() && !g_PicViewer->GetLogoName(chid,title,desc))
|
||||||
{
|
{
|
||||||
channel->setAlternateLogo(alogo);
|
channel->setAlternateLogo(alogo);
|
||||||
|
Reference in New Issue
Block a user