summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-03-05 20:10:23 +0100
committerJohns <johns98@gmx.net>2012-03-05 20:10:23 +0100
commit181a0bb3720f615b9ef68235df4f50f396c31869 (patch)
treea3274aebc7e121b0521bf1b4e82268b75979191e /video.c
parentf2d4163899d313c5f50b6424b47961c7b16c8163 (diff)
downloadvdr-plugin-softhddevice-181a0bb3720f615b9ef68235df4f50f396c31869.tar.gz
vdr-plugin-softhddevice-181a0bb3720f615b9ef68235df4f50f396c31869.tar.bz2
Move grab unsupported warning to low-level.
Diffstat (limited to 'video.c')
-rw-r--r--video.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/video.c b/video.c
index ef1b70d..a6a90b2 100644
--- a/video.c
+++ b/video.c
@@ -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;