That helps to know what's happening, especially when there are
some crashes on it.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
return -1;
}
+ dvb_log("Parsing table ID %d, program ID %d", tid, pid);
+
while (1) {
int available;
dvb_scan_handler->pmt = realloc(dvb_scan_handler->pmt,
sizeof(*dvb_scan_handler->pmt) * (num_pmt + 1));
+ dvb_log("Program ID %d", program->pid);
rc = dvb_read_section(parms, dmx_fd,
DVB_TABLE_PMT, program->pid,
(uint8_t **)&dvb_scan_handler->pmt[num_pmt],