gboolean empty;
GCond empty_cond;
+ gboolean orphaned;
+
GstV4l2Allocator *vallocator;
GstAllocator *allocator;
+#ifdef TIZEN_FEATURE_V4L2_TBM_SUPPORT
+ GstAllocator *tallocator;
+ gint live_buffer_count;
+ GMutex buffer_lock;
+ GCond buffer_cond;
+#endif /* TIZEN_FEATURE_V4L2_TBM_SUPPORT */
GstAllocationParams params;
GstBufferPool *other_pool;
guint size;
guint min_latency; /* number of buffers we will hold */
guint max_latency; /* number of buffers we can hold */
guint num_queued; /* number of buffers queued in the driver */
+ guint num_allocated; /* number of buffers allocated */
guint copy_threshold; /* when our pool runs lower, start handing out copies */
gboolean streaming;
gboolean gst_v4l2_buffer_pool_flush (GstBufferPool *pool);
+gboolean gst_v4l2_buffer_pool_orphan (GstBufferPool ** pool);
+
G_END_DECLS
#endif /*__GST_V4L2_BUFFER_POOL_H__ */