summaryrefslogtreecommitdiff
path: root/sys/v4l2/gstv4l2bufferpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/v4l2/gstv4l2bufferpool.h')
-rw-r--r--sys/v4l2/gstv4l2bufferpool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/v4l2/gstv4l2bufferpool.h b/sys/v4l2/gstv4l2bufferpool.h
index 7a7f8c733..9d654c104 100644
--- a/sys/v4l2/gstv4l2bufferpool.h
+++ b/sys/v4l2/gstv4l2bufferpool.h
@@ -54,6 +54,7 @@ struct _GstV4l2BufferPool
GstAllocationParams params;
guint size;
gboolean add_videometa;
+ gboolean add_cropmeta;
gboolean can_alloc; /* if extra buffers can be allocated */
guint num_buffers; /* number of buffers we use */
@@ -110,6 +111,8 @@ GstFlowReturn gst_v4l2_buffer_pool_process (GstV4l2BufferPool * bpool, Gst
gboolean gst_v4l2_buffer_pool_flush (GstV4l2BufferPool * pool);
+void gst_v4l2_buffer_pool_add_crop_meta (GstV4l2BufferPool * bpool, gboolean add);
+
G_END_DECLS
#endif /*__GST_V4L2_BUFFER_POOL_H__ */