added FITS support to grabvidseq
This commit is contained in:
@@ -51,9 +51,9 @@ int verbosity;
|
||||
|
||||
static void xioctl(int fh, int request, void *arg)
|
||||
{
|
||||
int r;
|
||||
int r;
|
||||
|
||||
do {
|
||||
do {
|
||||
r = v4l2_ioctl(fh, request, arg);
|
||||
} while (r == -1 && ((errno == EINTR) || (errno == EAGAIN)));
|
||||
|
||||
@@ -393,6 +393,9 @@ switch (foo) {
|
||||
case FILE_TYPE_PNG:
|
||||
foo = fimg_save_as_png(to_save, outfile, 0);
|
||||
break;
|
||||
case FILE_TYPE_FITS:
|
||||
foo = fimg_save_R_as_fits(to_save, outfile, 0);
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "can't save as %s\n", outfile);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user