From: Jaroslav Kysela Date: Mon, 11 Sep 2017 15:16:41 +0000 (+0200) Subject: tsremux: parse always HBBTV info X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c8d961adf7c571b0f64646d8015a350fce57eb44;p=thirdparty%2Ftvheadend.git tsremux: parse always HBBTV info --- diff --git a/src/input/mpegts/tsdemux.c b/src/input/mpegts/tsdemux.c index 4b7806fef..3ba94052d 100644 --- a/src/input/mpegts/tsdemux.c +++ b/src/input/mpegts/tsdemux.c @@ -189,16 +189,16 @@ ts_recv_packet0 SCT_ISAUDIO(st->es_type)) ts_recv_pcr_audio(t, st, tsb2 + off, 188 - off); - if (!streaming_pad_probe_type(&t->s_streaming_pad, SMT_PACKET)) + if (st->es_type == SCT_HBBTV) { + dvb_table_parse(&st->es_psi, "ts", tsb2, 188, 1, 0, ts_recv_hbbtv_cb); continue; + } - if (st->es_type == SCT_CA || st->es_type == SCT_CAT) + if (!streaming_pad_probe_type(&t->s_streaming_pad, SMT_PACKET)) continue; - if (st->es_type == SCT_HBBTV) { - dvb_table_parse(&st->es_psi, "ts", tsb2, 188, 1, 0, ts_recv_hbbtv_cb); + if (st->es_type == SCT_CA || st->es_type == SCT_CAT) continue; - } if (off <= 188 && t->s_status == SERVICE_RUNNING) parse_mpeg_ts((service_t*)t, st, tsb2 + off, 188 - off, pusi, error);