mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
-webtv: fix segfault while reload
Signed-off-by: Thilo Graf <dbt@novatux.de>
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())
|
||||
{
|
||||
|
@@ -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);
|
||||
CServiceManager::getInstance()->AddChannel(channel);
|
||||
desc = "m3u_loading_logos";
|
||||
if (!alogo.empty() && !g_PicViewer->GetLogoName(chid,title,desc))
|
||||
{
|
||||
channel->setAlternateLogo(alogo);
|
||||
|
Reference in New Issue
Block a user