#define gst_buffer_unref(buf) gst_data_unref (GST_DATA (buf))
/* copy buffer */
#define gst_buffer_copy(buf) GST_BUFFER (gst_data_copy (GST_DATA (buf)))
-#define gst_buffer_is_writeable(buf) GST_BUFFER (gst_data_is_writeable (GST_DATA (buf)))
+#define gst_buffer_is_writable(buf) GST_BUFFER (gst_data_is_writable (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))
/* bufferpool operations */
#define gst_buffer_pool_copy(pool) GST_BUFFER_POOL (gst_data_copy (GST_DATA (pool)))
-#define gst_buffer_pool_is_writeable(pool) GST_BUFFER_POOL (gst_data_is_writeable (GST_DATA (pool)))
+#define gst_buffer_pool_is_writable(pool) GST_BUFFER_POOL (gst_data_is_writable (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))
}
/**
- * gst_data_is_writeable:
+ * gst_data_is_writable:
* @data: a #GstData to copy
*
* Query if the gstdata needs to be copied before it can safely be modified.
* be copied before it can be modified safely.
*/
gboolean
-gst_data_is_writeable (GstData *data)
+gst_data_is_writable (GstData *data)
{
gint refcount;
/* basic operations on data */
GstData* gst_data_copy (const GstData *data);
-gboolean gst_data_is_writeable (GstData *data);
+gboolean gst_data_is_writable (GstData *data);
GstData* gst_data_copy_on_write (GstData *data);
void gst_data_free (GstData *data);