Move grab unsupported warning to low-level.

This commit is contained in:
Johns 2012-03-05 20:10:23 +01:00
parent f2d4163899
commit 181a0bb372
2 changed files with 5 additions and 4 deletions

View File

@ -1760,9 +1760,6 @@ uint8_t *GrabImage(int *size, int jpeg, int quality, int width, int height)
}
return NULL;
}
if (width != -1 && height != -1) {
Warning(_("softhddev: scaling unsupported\n"));
}
return VideoGrab(size, &width, &height, 1);
}

View File

@ -8859,8 +8859,12 @@ uint8_t *VideoGrab(int *size, int *width, int *height, int write_header)
free(data);
return rgb;
}
} else
#endif
{
Warning(_("softhddev: grab unsupported\n"));
}
(void)size;
(void)width;
(void)height;