CZapitChannel::~CZapitChannel(void) { resetPids(); if (caPmt) delete caPmt; }
CZapitChannel::~CZapitChannel(void) { //printf("DEL CHANNEL %s %x subs %d\n", name.c_str(), (int) this, getSubtitleCount()); resetPids(); //setCaPmt(NULL); setRawPmt(NULL); camap.clear(); }
CZapitChannel::~CZapitChannel () { resetPids(); if (caPmt) { delete caPmt; } }
CZapitChannel::CZapitChannel (std::string p_name, t_service_id p_sid, t_transport_stream_id p_tsid, t_original_network_id p_onid, unsigned char p_service_type, unsigned char p_DiSEqC) { name = p_name; service_id = p_sid; transport_stream_id = p_tsid; original_network_id = p_onid; serviceType = p_service_type; DiSEqC = p_DiSEqC; caPmt = NULL; resetPids(); }
CZapitChannel::CZapitChannel(const std::string & p_name, t_service_id p_sid, t_transport_stream_id p_tsid, t_original_network_id p_onid, unsigned char p_service_type, unsigned char p_DiSEqC, t_satellite_position p_satellite_position, frequency_kHz_t p_frequency) { name = p_name; service_id = p_sid; transport_stream_id = p_tsid; original_network_id = p_onid; serviceType = p_service_type; DiSEqC = p_DiSEqC; satellitePosition = p_satellite_position; frequency = p_frequency; caPmt = NULL; resetPids(); }
void CZapitChannel::Init() { uname = DEFAULT_CH_UNAME; //caPmt = NULL; rawPmt = NULL; pmtLen = 0; type = 0; number = 0; scrambled = 0; pname = NULL; pmtPid = 0; resetPids(); ttx_language_code = ""; last_unlocked_EPGid = 0; last_unlocked_time = 0; has_bouquet = false; record_demux = 2; pip_demux = 2; polarization = 0; flags = 0; delsys = DVB_S; bLockCount = 0; bLocked = DEFAULT_CH_LOCKED; }