projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7db5f42
)
libdvbv5: Improve debug logs while scanning PMT
author
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Thu, 3 Jul 2014 13:48:53 +0000
(10:48 -0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Thu, 3 Jul 2014 14:22:53 +0000
(11:22 -0300)
Better display what's happening during PMT program scan.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
lib/libdvbv5/dvb-scan.c
patch
|
blob
|
history
diff --git
a/lib/libdvbv5/dvb-scan.c
b/lib/libdvbv5/dvb-scan.c
index
9a7997b
..
94cf98e
100644
(file)
--- a/
lib/libdvbv5/dvb-scan.c
+++ b/
lib/libdvbv5/dvb-scan.c
@@
-473,12
+473,14
@@
struct dvb_v5_descriptors *dvb_get_ts_tables(struct dvb_v5_fe_parms *parms,
if (!program->service_id) {
if (parms->verbose)
- dvb_log("Network PID: 0x%02x", program->pid);
+ dvb_log("Program #%d is network PID: 0x%04x",
+ num_pmt, program->pid);
num_pmt++;
continue;
}
if (parms->verbose)
- dvb_log("Program ID %d", program->pid);
+ dvb_log("Program #%d ID 0x%04x, service ID 0x%04x",
+ num_pmt, program->pid, program->service_id);
rc = dvb_read_section(parms, dmx_fd,
DVB_TABLE_PMT, program->pid,
(void **)&dvb_scan_handler->program[num_pmt].pmt,