From 8c4b9a6aa099d93d69b9813e4cb60fa5898a2e1c Mon Sep 17 00:00:00 2001 From: tTh Date: Wed, 1 May 2024 12:30:53 +0200 Subject: [PATCH] bla --- v4l2/grabvidseq.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/v4l2/grabvidseq.c b/v4l2/grabvidseq.c index 2a23c9b..7dcd8c7 100644 --- a/v4l2/grabvidseq.c +++ b/v4l2/grabvidseq.c @@ -402,17 +402,18 @@ foo = format_from_extension(outfile); switch (foo) { case FILE_TYPE_FIMG: if (add_metadata) { - fimg_default_metadata(&metadata, 51); + fimg_default_metadata(&metadata, 0x51); /* copy some values to mdstruct */ metadata.fval = to_save->fval; metadata.count = to_save->count; - // fprintf(stderr, "-> save '%s' with metadata\n", - // outfile); + fprintf(stderr, "-> save '%s' with metadata\n", + outfile); foo = fimg_dumpmd_to_file(to_save, outfile, \ &metadata, 0); } else { foo = fimg_dump_to_file(to_save, outfile, 0); + fprintf(stderr, "%s no dump of metadata ?\n", outfile); } break; case FILE_TYPE_PNM: