From 0ab6e3ae165ec9d3f8c7e33e4982f14f52ba5971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= <andreas@lonelycoder.com> Date: Mon, 12 May 2008 17:40:42 +0000 Subject: [PATCH] Add a filter in the Demuxer so we only get the NIT we want --- dvb_tables.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dvb_tables.c b/dvb_tables.c index 5225c3c7..206a6030 100644 --- a/dvb_tables.c +++ b/dvb_tables.c @@ -777,6 +777,8 @@ dvb_table_add_default(th_dvb_mux_instance_t *tdmi) /* Network Information Table */ fp = dvb_fparams_alloc(0x10, DMX_IMMEDIATE_START | DMX_CHECK_CRC); + fp->filter.filter[0] = 0x40; + fp->filter.mask[0] = 0xff; tdt_add(tdmi, fp, dvb_nit_callback, NULL, "nit", TDT_QUICKREQ); /* Service Descriptor Table */