From 0bb56d2acf003beaa16a8e12c12ea722109ea3a7 Mon Sep 17 00:00:00 2001 From: BPanther Date: Tue, 2 Jan 2024 00:43:08 +0100 Subject: [PATCH] fix missing pip defs Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/9f491b6231884532376a177aef261ad93703ea3b Author: BPanther Date: 2024-01-02 (Tue, 02 Jan 2024) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/include/zapit/channel.h | 4 ++++ src/zapit/src/capmt.cpp | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/zapit/include/zapit/channel.h b/src/zapit/include/zapit/channel.h index 75a997648..0a8cc7bc8 100644 --- a/src/zapit/include/zapit/channel.h +++ b/src/zapit/include/zapit/channel.h @@ -303,10 +303,14 @@ class CZapitChannel void dumpServiceXml(FILE * fd, const char * action = NULL); void dumpBouquetXml(FILE * fd, bool bUser); void setRecordDemux(uint8_t num) { record_demux = num; }; +#ifdef ENABLE_PIP void setPipDemux(uint8_t num) { pip_demux = num; }; +#endif void setStreamDemux(uint8_t num) { stream_demux = num; }; int getRecordDemux() { return record_demux; }; +#ifdef ENABLE_PIP int getPipDemux() { return pip_demux; }; +#endif int getStreamDemux() { return stream_demux; }; static t_channel_id makeChannelId(t_satellite_position sat, freq_id_t freq, t_transport_stream_id tsid, t_original_network_id onid, t_service_id sid) diff --git a/src/zapit/src/capmt.cpp b/src/zapit/src/capmt.cpp index 92fa33a7e..a8066e2fd 100644 --- a/src/zapit/src/capmt.cpp +++ b/src/zapit/src/capmt.cpp @@ -289,6 +289,7 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start #endif INFO("RECORD(%d): fe_num %d rec_dmx %d", mode, source, demux); break; +#ifdef ENABLE_PIP case PIP: #if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE #ifdef DYNAMIC_DEMUX @@ -310,6 +311,7 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start #endif INFO("PIP: fe_num %d dmx_src %d", source, demux); break; +#endif } oldmask = cam->getCaMask();