From 0048b16618a94c3c002bb620e5d5503039853a43 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 24 Oct 2012 01:47:31 +0200 Subject: isp: Add crop support for the viewfinder Signed-off-by: Laurent Pinchart --- snapshot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'snapshot.c') 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; -- cgit v1.2.3