From a99f7f5c3a4de94df8b2c5ae61c852cd3062d946 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 13 Mar 2013 16:15:23 +0400 Subject: [PATCH] zapit/include/zapit/channel.h: add demux num for PiP --- src/zapit/include/zapit/channel.h | 3 +++ src/zapit/src/channel.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/src/zapit/include/zapit/channel.h b/src/zapit/include/zapit/channel.h index fd7a70b01..d8f1225bf 100644 --- a/src/zapit/include/zapit/channel.h +++ b/src/zapit/include/zapit/channel.h @@ -160,6 +160,7 @@ class CZapitChannel std::string ttx_language_code; uint8_t record_demux; + uint8_t pip_demux; void Init(); friend class CChannelList; @@ -256,7 +257,9 @@ class CZapitChannel void dumpServiceXml(FILE * fd, const char * action = NULL); void dumpBouquetXml(FILE * fd); void setRecordDemux(int num) { record_demux = num; }; + void setPipDemux(int num) { pip_demux = num; }; int getRecordDemux() { return record_demux; }; + int getPipDemux() { return pip_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/channel.cpp b/src/zapit/src/channel.cpp index eb8cc9279..0bdc95695 100644 --- a/src/zapit/src/channel.cpp +++ b/src/zapit/src/channel.cpp @@ -65,6 +65,7 @@ void CZapitChannel::Init() last_unlocked_time = 0; has_bouquet = false; record_demux = 2; + pip_demux = 2; polarization = 0; flags = 0; deltype = FE_QPSK;