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:
33a8923
)
utils/dvb: Unknown descriptor should not be an error
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Fri, 6 Jan 2012 22:18:11 +0000
(20:18 -0200)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 7 Jan 2012 13:12:16 +0000
(11:12 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
utils/dvb/descriptors.c
patch
|
blob
|
history
diff --git
a/utils/dvb/descriptors.c
b/utils/dvb/descriptors.c
index
ee01157
..
c75aed5
100644
(file)
--- a/
utils/dvb/descriptors.c
+++ b/
utils/dvb/descriptors.c
@@
-317,7
+317,8
@@
static void parse_descriptor(struct dvb_descriptors *dvb_desc,
printf("Component tag 0x%02x\n", buf[2]);
break;
default:
- fprintf(stderr, "Unknown descriptor 0x%02x\n", buf[0]);
+ if (dvb_desc->verbose)
+ printf("Unknown descriptor 0x%02x\n", buf[0]);
break;
}
buf += dlen + 2;