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: