This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: v4l2grab: print the fourcc when libv4l won't handle it Author: Mauro Carvalho Chehab <[email protected]> Date: Fri Oct 29 14:30:19 2021 +0100 Instead of just saying that libv4l doesn't support a format, print its fourcc. Signed-off-by: Mauro Carvalho Chehab <[email protected]> contrib/test/v4l2grab.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=66769a9dced089e694e608fda08675a0feeb0367 diff --git a/contrib/test/v4l2grab.c b/contrib/test/v4l2grab.c index aab76927dfdd..afd3e20b5fcd 100644 --- a/contrib/test/v4l2grab.c +++ b/contrib/test/v4l2grab.c @@ -788,7 +788,8 @@ int main(int argc, char **argv) if (fmt.fmt.pix.pixelformat != V4L2_PIX_FMT_RGB24) { if (libv4l) { - printf("Libv4l didn't accept RGB24 format. Can't proceed.\n"); + char *p = (void *)&fmt.fmt.pix.pixelformat; + printf("Libv4l didn't accept RGB24 format. Can't proceed with %c%c%c%c.\n", p[0], p[1], p[2], p[3]); exit(EXIT_FAILURE); } else { printf("File output won't be in PPM format.\n"); _______________________________________________ linuxtv-commits mailing list [email protected] https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
