Skip to content

Commit

Permalink
fix missing pip defs
Browse files Browse the repository at this point in the history
  • Loading branch information
BPanther committed Oct 5, 2023
1 parent 70b8527 commit b902e6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/zapit/include/zapit/channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,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)
Expand Down
2 changes: 2 additions & 0 deletions src/zapit/src/capmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,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_SH4_HARDWARE || HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
#ifdef DYNAMIC_DEMUX
Expand All @@ -292,6 +293,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();
Expand Down

0 comments on commit b902e6f

Please sign in to comment.