mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
gui/channellist.cpp: use zapit client for PiP
This commit is contained in:
@@ -782,9 +782,9 @@ int CChannelList::show()
|
|||||||
else if ( msg == CRCInput::RC_play) {
|
else if ( msg == CRCInput::RC_play) {
|
||||||
if(SameTP() && CRecordManager::getInstance()->GetRecordMode(chanlist[selected]->channel_id) == CRecordManager::RECMODE_OFF) {
|
if(SameTP() && CRecordManager::getInstance()->GetRecordMode(chanlist[selected]->channel_id) == CRecordManager::RECMODE_OFF) {
|
||||||
if (CZapit::getInstance()->GetPipChannelID() == chanlist[selected]->getChannelID()) {
|
if (CZapit::getInstance()->GetPipChannelID() == chanlist[selected]->getChannelID()) {
|
||||||
CZapit::getInstance()->StopPip();
|
g_Zapit->stopPip();
|
||||||
} else {
|
} else {
|
||||||
if (!CZapit::getInstance()->StartPip(chanlist[selected]->getChannelID()))
|
if (!g_Zapit->zapTo_pip(chanlist[selected]->getChannelID()))
|
||||||
DisplayErrorMessage(g_Locale->getText(LOCALE_VIDEOMENU_PIP_ERROR));
|
DisplayErrorMessage(g_Locale->getText(LOCALE_VIDEOMENU_PIP_ERROR));
|
||||||
}
|
}
|
||||||
paint();
|
paint();
|
||||||
|
Reference in New Issue
Block a user