diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-10-05 15:57:15 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-10-05 16:26:01 +0200 |
commit | acd2b7a13e607a46a2185125b7b3fbac81324985 (patch) | |
tree | 0d41d1e2efaffc8cc00adf064faacbeb91f41369 /live.c | |
parent | 1f78a50ce5667c540d53dfe274ec068141c132fd (diff) |
videoout: Add vo_cleanup() function to close the video output device
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'live.c')
-rw-r--r-- | live.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -535,9 +535,11 @@ int main(int argc __attribute__((__unused__)), char *argv[] __attribute__((__unu exit_code = EXIT_SUCCESS; cleanup: - /* Cleanup the ISP resources. */ + /* Cleanup the ISP and video output resources. */ if (isp) omap3_isp_close(isp); + if (vo) + vo_cleanup(vo); return exit_code; } |