From: Mauro Carvalho Chehab Date: Fri, 6 Jan 2012 22:18:11 +0000 (-0200) Subject: utils/dvb: Unknown descriptor should not be an error X-Git-Tag: v4l-utils-0.9.0-test1~109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2532a594877b60940d4b5236e5b96a17df2f7afb;p=platform%2Fupstream%2Fv4l-utils.git utils/dvb: Unknown descriptor should not be an error Signed-off-by: Mauro Carvalho Chehab --- diff --git a/utils/dvb/descriptors.c b/utils/dvb/descriptors.c index ee01157..c75aed5 100644 --- 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;