From db037c5d12681cda2d9a53bbbd0ef1aabbb4b6fa Mon Sep 17 00:00:00 2001 From: tth Date: Mon, 12 Aug 2019 22:20:25 +0200 Subject: [PATCH] micro tweaks --- lib/Makefile | 2 +- v4l2/Makefile | 2 +- v4l2/grabvidseq.c | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index bc01b17..30d51d7 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -2,7 +2,7 @@ # building the base library # -COPT = -Wall -fpic -g -pg -no-pie -DDEBUG_LEVEL=0 +COPT = -Wall -fpic -g -no-pie -DDEBUG_LEVEL=0 OBJS = fimg-core.o fimg-pnm.o fimg-file.o fimg-math.o \ fimg-timers.o operators.o DEPS = Makefile ../floatimg.h diff --git a/v4l2/Makefile b/v4l2/Makefile index 8eb83e6..fe6c561 100644 --- a/v4l2/Makefile +++ b/v4l2/Makefile @@ -1,6 +1,6 @@ -COPT = -Wall -fpic -g -pg -no-pie -DDEBUG_LEVEL=1 +COPT = -Wall -fpic -g -no-pie -DDEBUG_LEVEL=1 DEPS = ../floatimg.h ../libfloatimg.a Makefile all: grabvidseq t diff --git a/v4l2/grabvidseq.c b/v4l2/grabvidseq.c index fb7a485..31aef14 100644 --- a/v4l2/grabvidseq.c +++ b/v4l2/grabvidseq.c @@ -66,11 +66,14 @@ if (r == -1) { /* --------------------------------------------------------------------- */ void help(int v) { +if (verbosity) { + printf("compiled %s at %s\n", __DATE__, __TIME__); + } puts("options :"); puts("\t-d /dev/?\tselect video device"); puts("\t-n NNN\t\thow many frames ?"); puts("\t-O ./\t\tset Output dir"); -puts("\t-o bla\t\tset oputput filename"); +puts("\t-o bla\t\tset output filename"); puts("\t-p NNN\t\tperiod in seconds"); puts("\t-v\t\tincrease verbosity"); exit(0);