]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
tsremux: parse always HBBTV info
authorJaroslav Kysela <perex@perex.cz>
Mon, 11 Sep 2017 15:16:41 +0000 (17:16 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 21 Nov 2017 14:48:20 +0000 (15:48 +0100)
src/input/mpegts/tsdemux.c

index 4b7806fefc1c6299ac8cb7831d791dbe34b2ea4d..3ba94052d6c7d5d1821e3209bef7bc142a61384e 100644 (file)
@@ -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);