preparation du moteur de brotchage
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
xioctl(fd, VIDIOC_DQBUF, &buf);
|
||||
|
||||
sprintf(out_name, "out%03d.ppm", i);
|
||||
fprintf(stderr, "-- %s\n", out_name);
|
||||
fprintf(stderr, "--> %s\n", out_name);
|
||||
fout = fopen(out_name, "w");
|
||||
if (!fout) {
|
||||
perror("Cannot open image");
|
||||
@@ -149,7 +149,7 @@
|
||||
fmt.fmt.pix.width, fmt.fmt.pix.height);
|
||||
fwrite(buffers[buf.index].start, buf.bytesused, 1, fout);
|
||||
fclose(fout);
|
||||
sleep(190);
|
||||
sleep(666);
|
||||
|
||||
xioctl(fd, VIDIOC_QBUF, &buf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user