Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mpegts network: handle old atsc network class
  • Loading branch information
perexg committed Dec 9, 2015
1 parent def7c48 commit 4bae878
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/input/mpegts/mpegts_network_dvb.c
Expand Up @@ -731,6 +731,8 @@ void dvb_network_init ( void )
if (!(e = htsmsg_get_map(e, "config"))) continue;
if (!(s = htsmsg_get_str(e, "class"))) continue;
for (i = 0; i < ARRAY_SIZE(dvb_network_classes); i++) {
if (strcmp(s, "dvb_network_atsc") == 0)
s = "dvb_network_atsc_t";
if(!strcmp(dvb_network_classes[i]->ic_class, s)) {
dvb_network_create0(f->hmf_name, dvb_network_classes[i], e);
break;
Expand Down

0 comments on commit 4bae878

Please sign in to comment.