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; return NULL;
} }
if (width != -1 && height != -1) {
Warning(_("softhddev: scaling unsupported\n"));
}
return VideoGrab(size, &width, &height, 1); 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); free(data);
return rgb; return rgb;
} } else
#endif #endif
{
Warning(_("softhddev: grab unsupported\n"));
}
(void)size; (void)size;
(void)width; (void)width;
(void)height; (void)height;