summaryrefslogtreecommitdiff
path: root/videoout.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-10-05 15:57:15 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-10-05 16:26:01 +0200
commitacd2b7a13e607a46a2185125b7b3fbac81324985 (patch)
tree0d41d1e2efaffc8cc00adf064faacbeb91f41369 /videoout.h
parent1f78a50ce5667c540d53dfe274ec068141c132fd (diff)
videoout: Add vo_cleanup() function to close the video output device
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'videoout.h')
-rw-r--r--videoout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/videoout.h b/videoout.h
index 815f112..63309aa 100644
--- a/videoout.h
+++ b/videoout.h
@@ -35,6 +35,7 @@ struct video_out_operations {
struct videoout *vo_init(const char *devname,
const struct video_out_operations *ops,
unsigned int width, unsigned int height);
+void vo_cleanup(struct videoout *vo);
int vo_enable_colorkey(struct videoout *vo, unsigned int val);
struct v4l2_buffers_pool *vo_get_pool(struct videoout *vo);
int vo_dequeue_buffer(struct videoout *vo, struct v4l2_video_buffer *buffer);