summaryrefslogtreecommitdiff
path: root/snapshot.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-10-24 01:47:31 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-03-20 00:26:22 +0100
commit5f622a1d768c847f5652122d5aa2e9e9ccc274db (patch)
tree277957513ce3e493b705600bdbe8ac7ec4537ee9 /snapshot.c
parentcbd64859e6c1509b0f2ee7728cb66b120d52c45e (diff)
isp: Add crop support for the viewfinder
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'snapshot.c')
-rw-r--r--snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/snapshot.c b/snapshot.c
index 878d4bf..a2ab58e 100644
--- a/snapshot.c
+++ b/snapshot.c
@@ -316,7 +316,7 @@ static int viewfinder_init(struct omap3_isp_device *isp)
view_format.width = VIEWFINDER_WIDTH;
view_format.height = VIEWFINDER_HEIGHT;
- ret = omap3_isp_viewfinder_setup(isp, &view_format);
+ ret = omap3_isp_viewfinder_setup(isp, NULL, &view_format);
if (ret < 0) {
printf("error: unable to setup pipeline\n");
return ret;