It might be this in mpegts_mux.c
void
mpegts_mux_tuning_error ( const char *mux_uuid, mpegts_mux_instance_t *mmi_match )
{
mpegts_mux_t *mm;
mpegts_mux_instance_t *mmi;
if (!tvh_mutex_timedlock(&global_lock, 2000000)) {
mm = mpegts_mux_find(mux_uuid);
if (mm) {
if ((mmi = mm->mm_active) != NULL && mmi == mmi_match)
if (mmi->mmi_input)
mmi->mmi_input->mi_error(mmi->mmi_input, mm, TSS_TUNING);
}
tvh_mutex_unlock(&global_lock);
}
}