mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
gui/channellist.cpp: use CNeutrinoApp::StartPip
This commit is contained in:
@@ -785,14 +785,14 @@ int CChannelList::show()
|
||||
}
|
||||
#ifdef ENABLE_PIP
|
||||
else if ( msg == CRCInput::RC_play) {
|
||||
if(SameTP() && CRecordManager::getInstance()->GetRecordMode(chanlist[selected]->channel_id) == CRecordManager::RECMODE_OFF) {
|
||||
if(SameTP()) {
|
||||
if (CZapit::getInstance()->GetPipChannelID() == chanlist[selected]->getChannelID()) {
|
||||
g_Zapit->stopPip();
|
||||
paint();
|
||||
} else {
|
||||
if (!g_Zapit->zapTo_pip(chanlist[selected]->getChannelID()))
|
||||
DisplayErrorMessage(g_Locale->getText(LOCALE_VIDEOMENU_PIP_ERROR));
|
||||
if(CNeutrinoApp::getInstance()->StartPip(chanlist[selected]->getChannelID()))
|
||||
paint();
|
||||
}
|
||||
paint();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user