mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
gui/movieplayer.cpp: try to fix bouquet/channel locking for webtv
This commit is contained in:
@@ -695,8 +695,13 @@ bool CMoviePlayerGui::PlayBackgroundStart(const std::string &file, const std::st
|
|||||||
zp = NULL;
|
zp = NULL;
|
||||||
if (!unlocked)
|
if (!unlocked)
|
||||||
return false;
|
return false;
|
||||||
|
} else {
|
||||||
|
CZapitChannel * channel = CServiceManager::getInstance()->FindChannel(chan);
|
||||||
|
if (channel && channel->Locked() != g_settings.parentallock_defaultlocked && !CNeutrinoApp::getInstance()->channelList->checkLockStatus(0x100))
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
OpenThreads::ScopedLock<OpenThreads::Mutex> m_lock(mutex);
|
OpenThreads::ScopedLock<OpenThreads::Mutex> m_lock(mutex);
|
||||||
|
|
||||||
instance_bg->Cleanup();
|
instance_bg->Cleanup();
|
||||||
|
Reference in New Issue
Block a user