gui/movieplayer.cpp: try to fix bouquet/channel locking for webtv

Origin commit data
------------------
Commit: ebb2d74d9f
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-11-03 (Tue, 03 Nov 2015)
This commit is contained in:
[CST] Focus
2015-11-03 18:47:55 +03:00
parent f17e65597f
commit 8165f4c7df

View File

@@ -695,8 +695,13 @@ bool CMoviePlayerGui::PlayBackgroundStart(const std::string &file, const std::st
zp = NULL;
if (!unlocked)
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);
instance_bg->Cleanup();