Could have ensure this was set correctly on input, but given that it was being
set if no config was passed and almost certainly it must by definition be the
same as the source mux, might as well simplify things.
(mpegts_network_t*)ln, onid, tsid, conf)))
return NULL;
lm = (dvb_mux_t*)mm;
- lm->lm_tuning.dmc_fe_type = ln->ln_type;
/* Tuning */
- if (dmc) {
- assert(dmc->dmc_fe_type == lm->lm_tuning.dmc_fe_type);
+ if (dmc)
memcpy(&lm->lm_tuning, dmc, sizeof(dvb_mux_conf_t));
- }
+ lm->lm_tuning.dmc_fe_type = ln->ln_type;
/* Callbacks */
lm->mm_delete = dvb_mux_delete;