Home
last modified time | relevance | path

Searched refs:cur_buffers (Results 1 – 1 of 1) sorted by relevance

/third_party/gstreamer/gstreamer/gst/
Dgstbufferpool.c110 guint cur_buffers; member
271 gint cur_buffers, max_buffers; in do_alloc_buffer() local
282 cur_buffers = g_atomic_int_add (&priv->cur_buffers, 1); in do_alloc_buffer()
283 if (max_buffers && cur_buffers >= max_buffers) in do_alloc_buffer()
299 GST_LOG_OBJECT (pool, "allocated buffer %d/%d, %p", cur_buffers, in do_alloc_buffer()
313 g_atomic_int_add (&priv->cur_buffers, -1); in do_alloc_buffer()
319 g_atomic_int_add (&priv->cur_buffers, -1); in do_alloc_buffer()
394 g_atomic_int_add (&priv->cur_buffers, -1); in do_free_buffer()
396 priv->cur_buffers); in do_free_buffer()
424 return priv->cur_buffers == 0; in default_stop()
[all …]