configure: depending --enable-quadpip on --enable-pip

* unify ENABLE_PIP defines
* simplify ENABLE_QUADPIP defines


Origin commit data
------------------
Branch: ni/coolstream
Commit: 866ababb79
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-10-16 (Sat, 16 Oct 2021)

Origin message was:
------------------
- configure: depending --enable-quadpip on --enable-pip

* unify ENABLE_PIP defines
* simplify ENABLE_QUADPIP defines


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-10-16 22:08:35 +02:00
parent e8b137a5b4
commit 4de9f5c45c
17 changed files with 68 additions and 65 deletions

View File

@@ -922,7 +922,7 @@ int CChannelList::show()
{
moveChannelToBouquet();
}
#ifdef ENABLE_PIP
#if ENABLE_PIP
else if (!empty && ((msg == CRCInput::RC_play) || (msg == CRCInput::RC_playpause) || (msg == (neutrino_msg_t) g_settings.key_pip_close))) {
int boxmode = getBoxMode();
if (boxmode > -1 && boxmode != 12)
@@ -1125,7 +1125,7 @@ bool CChannelList::checkLockStatus(neutrino_msg_data_t data, bool pip)
out:
if (startvideo) {
if(pip) {
#ifdef ENABLE_PIP
#if ENABLE_PIP
if (CNeutrinoApp::getInstance()->StartPip((*chanlist)[selected]->getChannelID())) {
calcSize();
paintBody();
@@ -1921,7 +1921,7 @@ void CChannelList::paintButtonBar(bool is_current)
}
if (i == 5) {
//manage pip button
#ifdef ENABLE_PIP
#if ENABLE_PIP
if (!is_current || IS_WEBCHAN(channel_id))
#endif
continue;
@@ -2038,7 +2038,7 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
//set pip icon
const char *pip_icon = NULL;
#ifdef ENABLE_PIP
#if ENABLE_PIP
if ((*chanlist)[curr]->getChannelID() == CZapit::getInstance()->GetPipChannelID())
pip_icon = NEUTRINO_ICON_MARKER_PIP;
#endif