Searched refs:cur_buffers (Results 1 – 1 of 1) sorted by relevance
110 guint cur_buffers; member271 gint cur_buffers, max_buffers; in do_alloc_buffer() local282 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 …]