mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
Added gst_buffer[_pool]_needs_copy_on_write()
Original commit message from CVS: Added gst_buffer[_pool]_needs_copy_on_write()
This commit is contained in:
parent
f42d7e6ac8
commit
eaba0a07e8
1 changed files with 2 additions and 0 deletions
|
@ -135,6 +135,7 @@ G_STMT_START { \
|
||||||
#define gst_buffer_unref(buf) gst_data_unref (GST_DATA (buf))
|
#define gst_buffer_unref(buf) gst_data_unref (GST_DATA (buf))
|
||||||
/* copy buffer */
|
/* copy buffer */
|
||||||
#define gst_buffer_copy(buf) GST_BUFFER (gst_data_copy (GST_DATA (buf)))
|
#define gst_buffer_copy(buf) GST_BUFFER (gst_data_copy (GST_DATA (buf)))
|
||||||
|
#define gst_buffer_needs_copy_on_write(buf) GST_BUFFER (gst_data_needs_copy_on_write (GST_DATA (buf)))
|
||||||
#define gst_buffer_copy_on_write(buf) GST_BUFFER (gst_data_copy_on_write (GST_DATA (buf)))
|
#define gst_buffer_copy_on_write(buf) GST_BUFFER (gst_data_copy_on_write (GST_DATA (buf)))
|
||||||
#define gst_buffer_free(buf) gst_data_free (GST_DATA (buf))
|
#define gst_buffer_free(buf) gst_data_free (GST_DATA (buf))
|
||||||
|
|
||||||
|
@ -167,6 +168,7 @@ void gst_buffer_pool_set_active (GstBufferPool *pool, gboolean active);
|
||||||
|
|
||||||
/* bufferpool operations */
|
/* bufferpool operations */
|
||||||
#define gst_buffer_pool_copy(pool) GST_BUFFER_POOL (gst_data_copy (GST_DATA (pool)))
|
#define gst_buffer_pool_copy(pool) GST_BUFFER_POOL (gst_data_copy (GST_DATA (pool)))
|
||||||
|
#define gst_buffer_pool_needs_copy_on_write(pool) GST_BUFFER_POOL (gst_data_needs_copy_on_write (GST_DATA (pool)))
|
||||||
#define gst_buffer_pool_copy_on_write(pool) GST_BUFFER_POOL (gst_data_copy_on_write (GST_DATA (pool)))
|
#define gst_buffer_pool_copy_on_write(pool) GST_BUFFER_POOL (gst_data_copy_on_write (GST_DATA (pool)))
|
||||||
#define gst_buffer_pool_free(pool) gst_data_free (GST_DATA (pool))
|
#define gst_buffer_pool_free(pool) gst_data_free (GST_DATA (pool))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue