mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +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())
|
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