Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
wizard: another attempt to fix --disable-iptv, fixes #3521
  • Loading branch information
perexg committed Jan 30, 2016
1 parent 10fe6da commit f074688
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/wizard.c
Expand Up @@ -718,7 +718,6 @@ static void muxes_save(idnode_t *in)
wizard_page_t *p = (wizard_page_t *)in;
wizard_muxes_t *w = p->aux;
mpegts_network_t *mn;
htsmsg_t *m;
int idx;

for (idx = 0; idx < WIZARD_NETWORKS; idx++) {
Expand All @@ -733,7 +732,7 @@ static void muxes_save(idnode_t *in)
#if ENABLE_IPTV
else if (idnode_is_instance(&mn->mn_id, &iptv_auto_network_class) &&
w->iptv_url[idx]) {
m = htsmsg_create_map();
htsmsg_t *m = htsmsg_create_map();
htsmsg_add_str(m, "url", w->iptv_url[idx]);
idnode_load(&mn->mn_id, m);
htsmsg_destroy(m);
Expand Down Expand Up @@ -887,6 +886,7 @@ wizard_page_t *wizard_muxes(const char *lang)
MUXES(5),
MUXES(6),
};
#if ENABLE_IPTV
static const property_t iptvprops[] = {
MUXES_IPTV(1),
MUXES_IPTV(2),
Expand All @@ -895,6 +895,7 @@ wizard_page_t *wizard_muxes(const char *lang)
MUXES_IPTV(5),
MUXES_IPTV(6),
};
#endif
static const property_t props[] = {
ICON(),
DESCRIPTION(muxes),
Expand Down

0 comments on commit f074688

Please sign in to comment.