mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
zapit: fix CST build
Origin commit data
------------------
Branch: ni/coolstream
Commit: dc51dd36fa
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-01-02 (Tue, 02 Jan 2024)
Origin message was:
------------------
- zapit: fix CST build
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -691,6 +691,13 @@ bool CZapit::ZapIt(const t_channel_id channel_id, bool forupdate, bool startplay
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if ENABLE_PIP
|
#if ENABLE_PIP
|
||||||
|
#if HAVE_CST_HARDWARE
|
||||||
|
bool CZapit::OpenPip(int, int)
|
||||||
|
{
|
||||||
|
// unused dummy for CST hardware
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
#else
|
||||||
bool CZapit::OpenPip(int pip, int dnum)
|
bool CZapit::OpenPip(int pip, int dnum)
|
||||||
{
|
{
|
||||||
if (!g_info.hw_caps->can_pip)
|
if (!g_info.hw_caps->can_pip)
|
||||||
@@ -720,6 +727,7 @@ bool CZapit::OpenPip(int pip, int dnum)
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
bool CZapit::StopPip(int pip)
|
bool CZapit::StopPip(int pip)
|
||||||
{
|
{
|
||||||
@@ -784,9 +792,11 @@ bool CZapit::StartPip(const t_channel_id channel_id, int pip)
|
|||||||
if (!g_info.hw_caps->can_pip)
|
if (!g_info.hw_caps->can_pip)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
#if !HAVE_CST_HARDWARE && !HAVE_GENERIC_HARDWARE
|
||||||
if (CNeutrinoApp::getInstance()->avinput_pip) {
|
if (CNeutrinoApp::getInstance()->avinput_pip) {
|
||||||
StopPip(0);
|
StopPip(0);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
CZapitChannel* newchannel;
|
CZapitChannel* newchannel;
|
||||||
bool transponder_change;
|
bool transponder_change;
|
||||||
|
Reference in New Issue
Block a user