summaryrefslogtreecommitdiff
path: root/sys/v4l2/gstv4l2bufferpool.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-07-25 15:51:22 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2011-07-25 15:51:22 +0200
commit9a8f1c433927afb7dd3b28518d56ab4e31dcb538 (patch)
treebcd0c8cc557918c22a47d842d93d776d86397229 /sys/v4l2/gstv4l2bufferpool.c
parente6a8718f0c5b46ddb2c628229c8df10691cbb6fb (diff)
v4l2: remove unused method
Diffstat (limited to 'sys/v4l2/gstv4l2bufferpool.c')
-rw-r--r--sys/v4l2/gstv4l2bufferpool.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c
index e7ace3137..a61f4f561 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;
-}