From: Adam Sutton Date: Thu, 18 Apr 2013 14:21:59 +0000 (+0100) Subject: dvb: remove the create only tv/radio services, this was a bad idea! X-Git-Tag: 3.4patch1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=296f053cc6a5fdd2a082e29908b3ad53d9638a5d;p=thirdparty%2Ftvheadend.git dvb: remove the create only tv/radio services, this was a bad idea! (cherry picked from commit c83b0cba2f0c8092b6a96828aef327ec8bb4c3b4) --- diff --git a/src/dvb/dvb_tables.c b/src/dvb/dvb_tables.c index a54943d9b..505176e11 100644 --- a/src/dvb/dvb_tables.c +++ b/src/dvb/dvb_tables.c @@ -435,14 +435,8 @@ dvb_sdt_callback(th_dvb_mux_instance_t *tdmi, uint8_t *ptr, int len, } } - if (!(t = dvb_service_find3(NULL, tdmi, NULL, 0, 0, service_id, 0, 0))) { - if (!servicetype_is_tv(stype) && - !servicetype_is_radio(stype)) - continue; - - if (!(t = dvb_service_find(tdmi, service_id, 0, NULL))) - continue; - } + if (!(t = dvb_service_find(tdmi, service_id, 0, NULL))) + continue; if(t->s_servicetype != stype || t->s_scrambled != free_ca_mode) {