From: Wim Taymans Date: Mon, 25 Jul 2011 13:51:22 +0000 (+0200) Subject: v4l2: remove unused method X-Git-Tag: RELEASE-0.11.1~445 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a8f1c433927afb7dd3b28518d56ab4e31dcb538;p=platform%2Fupstream%2Fgst-plugins-good.git v4l2: remove unused method --- diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c index e7ace31..a61f4f5 100644 --- a/sys/v4l2/gstv4l2bufferpool.c +++ b/sys/v4l2/gstv4l2bufferpool.c @@ -1026,20 +1026,3 @@ start_failed: return GST_FLOW_ERROR; } } - -/** - * gst_v4l2_buffer_pool_available_buffers: - * @pool: the pool - * - * Check the number of buffers available to the driver, ie. buffers that - * have been QBUF'd but not yet DQBUF'd. - * - * Returns: the number of buffers available. - */ -gint -gst_v4l2_buffer_pool_available_buffers (GstBufferPool * bpool) -{ - GstV4l2BufferPool *pool = GST_V4L2_BUFFER_POOL (bpool); - - return pool->num_queued; -} diff --git a/sys/v4l2/gstv4l2bufferpool.h b/sys/v4l2/gstv4l2bufferpool.h index 1094cf1..f677e95 100644 --- a/sys/v4l2/gstv4l2bufferpool.h +++ b/sys/v4l2/gstv4l2bufferpool.h @@ -88,8 +88,6 @@ GstBufferPool * gst_v4l2_buffer_pool_new (GstV4l2Object *obj); GstFlowReturn gst_v4l2_buffer_pool_process (GstBufferPool * bpool, GstBuffer * buf); -gint gst_v4l2_buffer_pool_available_buffers (GstBufferPool *pool); - G_END_DECLS #endif /*__GST_V4L2_BUFFER_POOL_H__ */