gui/channellist.cpp: use zapit client for PiP

This commit is contained in:
[CST] Focus
2013-03-08 14:14:26 +04:00
parent a69b37a929
commit e05ab5297d

View File

@@ -782,9 +782,9 @@ int CChannelList::show()
else if ( msg == CRCInput::RC_play) {
if(SameTP() && CRecordManager::getInstance()->GetRecordMode(chanlist[selected]->channel_id) == CRecordManager::RECMODE_OFF) {
if (CZapit::getInstance()->GetPipChannelID() == chanlist[selected]->getChannelID()) {
CZapit::getInstance()->StopPip();
g_Zapit->stopPip();
} else {
if (!CZapit::getInstance()->StartPip(chanlist[selected]->getChannelID()))
if (!g_Zapit->zapTo_pip(chanlist[selected]->getChannelID()))
DisplayErrorMessage(g_Locale->getText(LOCALE_VIDEOMENU_PIP_ERROR));
}
paint();