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

This commit is contained in:
[CST] Focus
2014-10-13 16:36:46 +04:00
parent 27cd2846f2
commit ab2be9aeb0
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