Merge branch 'ni/tuxbox' into ni/mp/tuxbox

Conflicts:
	configure.ac
	lib/sectionsdclient/Makefile.am
	lib/timerdclient/Makefile.am


Origin commit data
------------------
Commit: 93fdd4aa79
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-11-17 (Thu, 17 Nov 2016)
This commit is contained in:
vanhofen
2016-11-17 09:52:47 +01:00
20 changed files with 261 additions and 86 deletions

View File

@@ -1819,10 +1819,14 @@ CRecordInstance* CRecordManager::getUseCI()
mutex.lock();
for(recmap_iterator_t it = recmap.begin(); it != recmap.end(); it++) {
CRecordInstance * inst = it->second;
CZapitChannel * channel = CServiceManager::getInstance()->FindChannel(inst->GetChannelId());
if (channel->bUseCI) {
mutex.unlock();
return inst;
if (inst)
{
CZapitChannel * channel = CServiceManager::getInstance()->FindChannel(inst->GetChannelId());
if (channel && channel->bUseCI)
{
mutex.unlock();
return inst;
}
}
}
mutex.unlock();