diff options
-rw-r--r-- | softhddev.c | 3 | ||||
-rw-r--r-- | video.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/softhddev.c b/softhddev.c index 4b9edcf..6121094 100644 --- a/softhddev.c +++ b/softhddev.c @@ -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); } @@ -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; |