From acd2b7a13e607a46a2185125b7b3fbac81324985 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 5 Oct 2011 15:57:15 +0200 Subject: videoout: Add vo_cleanup() function to close the video output device Signed-off-by: Laurent Pinchart --- live.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'live.c') diff --git a/live.c b/live.c index 4a920c5..52c8cfd 100644 --- a/live.c +++ b/live.c @@ -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; } -- cgit v1.2.3