This commit is contained in:
2021-01-06 11:47:55 +01:00
parent de3a50cc1d
commit 321b12dd9a
2 changed files with 18 additions and 25 deletions

View File

@@ -82,13 +82,6 @@ if (1 != step) fprintf(stderr, "\tstep is %d\n", step);
(void)fimg_timer_set(0);
#if 0
if (infx) fprintf(stderr, "\tin fx #%d\n", infx);
else fprintf(stderr, "\tno in fx\n");
if (outfx) fprintf(stderr, "\tout fx #%d\n", outfx);
else fprintf(stderr, "\tno out fx\n");
#endif
memset(&globbuf, 0, sizeof(glob_t));
foo = glob(pattern, 0, NULL, &globbuf);
if (foo) {
@@ -191,8 +184,8 @@ int foo, opt;
int fifosize = 10;
char *in_pattern = "capture/?????.fimg";
char *out_dir = "p8";
int in_effect = 0;
int out_effect = 0;
// OBSOLETE int in_effect = 0;
// OBSOLETE int out_effect = 0;
int steps = 1;
int blanks = 20;
char *InFchain = "0";
@@ -223,10 +216,10 @@ while ((opt = getopt(argc, argv, "B:E:F:ghI:LO:s:T:vw:x:")) != -1) {
break;
case 'v': verbosity++;
break;
case 'w': in_effect = atoi(optarg);
break;
case 'x': out_effect = atoi(optarg);
break;
// OBSOLETE case 'w': in_effect = atoi(optarg);
// OBSOLETE break;
// OBSOLETE case 'x': out_effect = atoi(optarg);
// OBSOLETE break;
case 's': steps = atoi(optarg);
break;
}
@@ -248,8 +241,8 @@ if (foo) {
exit(1);
}
foo = demarre_la_machine(in_pattern, out_dir, fifosize, in_effect,
out_effect, steps, blanks);
foo = demarre_la_machine(in_pattern, out_dir, fifosize, 0,
0, steps, blanks);
fprintf(stderr, "retour du big-run de la machine -> %d\n", foo);
return 0;