diff options
Diffstat (limited to 'isp')
-rw-r--r-- | isp/omap3isp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/isp/omap3isp.c b/isp/omap3isp.c index f100254..ac9cc4a 100644 --- a/isp/omap3isp.c +++ b/isp/omap3isp.c @@ -1339,6 +1339,8 @@ static void omap3_isp_snapshot_event(void *priv) /* We're done, stop the stream and resume the viewfinder. */ isp->ops->unwatch_fd(isp->snapshot.output->video->fd); + omap3_isp_stats_stop(isp); + ret = omap3_isp_video_stop(isp->snapshot.output); if (ret < 0) { printf("error: streamoff failed for snapshot\n"); @@ -1388,6 +1390,9 @@ int omap3_isp_snapshot_capture(struct omap3_isp_device *isp) isp->ops->watch_fd(isp->snapshot.output->video->fd, OMAP3_ISP_EVENT_READ, omap3_isp_snapshot_event, isp); + /* Start the statistics engine. */ + omap3_isp_stats_start(isp); + ret = omap3_isp_video_start(isp->snapshot.output); if (ret < 0) { printf("error: streamon failed for snapshot\n"); |