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:
3313282
)
libdvbv5/descriptors: print descriptor number in hexadecimal
author
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Fri, 15 Nov 2013 12:42:20 +0000
(10:42 -0200)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Wed, 27 Nov 2013 11:24:16 +0000
(09:24 -0200)
Descriptors are tabled in hexadecimal. Put them in this format,
to make easier to compare with DTV and MPEG tables.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
lib/libdvbv5/descriptors.c
patch
|
blob
|
history
diff --git
a/lib/libdvbv5/descriptors.c
b/lib/libdvbv5/descriptors.c
index
9790348
..
b16a65d
100644
(file)
--- a/
lib/libdvbv5/descriptors.c
+++ b/
lib/libdvbv5/descriptors.c
@@
-65,7
+65,7
@@
void dvb_desc_default_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, st
void dvb_desc_default_print(struct dvb_v5_fe_parms *parms, const struct dvb_desc *desc)
{
- dvb_log("| %s (
%d
)", dvb_descriptors[desc->type].name, desc->type);
+ dvb_log("| %s (
0x%02x
)", dvb_descriptors[desc->type].name, desc->type);
hexdump(parms, "| ", desc->data, desc->length);
}