zapit/include/zapit/channel.h: add demux num for PiP

This commit is contained in:
[CST] Focus
2013-03-13 16:15:23 +04:00
parent 3cd344c83c
commit a99f7f5c3a
2 changed files with 4 additions and 0 deletions

View File

@@ -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)
{

View File

@@ -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;