mpegts service: fix compilation when \!ENABLE_MPEGTS_DVB
This commit is contained in:
parent
4e1e909946
commit
b1b9b42685
1 changed files with 3 additions and 1 deletions
|
@ -407,10 +407,12 @@ mpegts_service_setsourceinfo(service_t *t, source_info_t *si)
|
|||
if(s->s_dvb_svcname != NULL)
|
||||
si->si_service = strdup(s->s_dvb_svcname);
|
||||
|
||||
if(m->mm_network != NULL && m->mm_network->mn_satpos != INT_MAX) {
|
||||
#if ENABLE_MPEGTS_DVB
|
||||
if(m->mm_network != NULL && m->mm_network->mn_satpos != INT_MAX) {
|
||||
dvb_sat_position_to_str(m->mm_network->mn_satpos, buf, sizeof(buf));
|
||||
si->si_satpos = strdup(buf);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue