mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
v4l2: remove unused method
This commit is contained in:
parent
e6a8718f0c
commit
9a8f1c4339
2 changed files with 0 additions and 19 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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__ */
|
||||
|
|
Loading…
Reference in a new issue