v4l2: remove unused method

This commit is contained in:
Wim Taymans 2011-07-25 15:51:22 +02:00
parent e6a8718f0c
commit 9a8f1c4339
2 changed files with 0 additions and 19 deletions

View file

@ -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;
}

View file

@ -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__ */