summaryrefslogtreecommitdiff
path: root/videoout.h
diff options
context:
space:
mode:
Diffstat (limited to 'videoout.h')
-rw-r--r--videoout.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/videoout.h b/videoout.h
index 3d459e2..cf20025 100644
--- a/videoout.h
+++ b/videoout.h
@@ -23,6 +23,8 @@
#ifndef __VIDEOOUT_H__
#define __VIDEOOUT_H__
+#include <linux/videodev2.h>
+
#include "isp/v4l2-pool.h"
struct videoout;
@@ -35,7 +37,7 @@ struct video_out_operations {
struct videoout *vo_init(const char *devname,
const struct video_out_operations *ops,
unsigned int buffers,
- unsigned int width, unsigned int height);
+ struct v4l2_pix_format *format);
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);