mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Move grab unsupported warning to low-level.
This commit is contained in:
parent
f2d4163899
commit
181a0bb372
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
6
video.c
6
video.c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user