mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
gui/movieplayer.cpp: try to fix bouquet/channel locking for webtv
Origin commit data
------------------
Branch: ni/coolstream
Commit: ebb2d74d9f
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-11-03 (Tue, 03 Nov 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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