mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
gui/channellist.cpp: use CNeutrinoApp::StartPip
Origin commit data
------------------
Commit: d2472e64cf
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-03-13 (Wed, 13 Mar 2013)
This commit is contained in:
@@ -785,14 +785,14 @@ int CChannelList::show()
|
|||||||
}
|
}
|
||||||
#ifdef ENABLE_PIP
|
#ifdef ENABLE_PIP
|
||||||
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()) {
|
||||||
if (CZapit::getInstance()->GetPipChannelID() == chanlist[selected]->getChannelID()) {
|
if (CZapit::getInstance()->GetPipChannelID() == chanlist[selected]->getChannelID()) {
|
||||||
g_Zapit->stopPip();
|
g_Zapit->stopPip();
|
||||||
|
paint();
|
||||||
} else {
|
} else {
|
||||||
if (!g_Zapit->zapTo_pip(chanlist[selected]->getChannelID()))
|
if(CNeutrinoApp::getInstance()->StartPip(chanlist[selected]->getChannelID()))
|
||||||
DisplayErrorMessage(g_Locale->getText(LOCALE_VIDEOMENU_PIP_ERROR));
|
paint();
|
||||||
}
|
}
|
||||||
paint();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user