zapit/src/channel.cpp: add bLocked flag to lock single channel

Origin commit data
------------------
Branch: ni/coolstream
Commit: ab2be9aeb0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-10-13 (Mon, 13 Oct 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-10-13 16:36:46 +04:00
parent 71c2b90815
commit bb846808b8
4 changed files with 15 additions and 9 deletions

View File

@@ -151,7 +151,7 @@ int CRemoteControl::handleMsg(const neutrino_msg_t msg, neutrino_msg_data_t data
is_video_started = true;
if (channel) {
current_channel_name = channel->getName();
if (!!channel->bLockCount != g_settings.parentallock_defaultlocked)
if (channel->Locked() != g_settings.parentallock_defaultlocked)
stopvideo();
}
CVFD::getInstance()->showServicename(current_channel_name); // UTF-8