diff --git a/gst/gstmemory.h b/gst/gstmemory.h index 771a511ea0..2f21e2ffcf 100644 --- a/gst/gstmemory.h +++ b/gst/gstmemory.h @@ -303,6 +303,7 @@ void gst_memory_resize (GstMemory *mem, gssize offset, gsize siz #define gst_memory_lock(m,f) gst_mini_object_lock (GST_MINI_OBJECT_CAST (m), (f)) #define gst_memory_unlock(m,f) gst_mini_object_unlock (GST_MINI_OBJECT_CAST (m), (f)) #define gst_memory_is_writable(m) gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (m)) +#define gst_memory_make_writable(m) GST_MEMORY_CAST (gst_mini_object_make_writable (GST_MINI_OBJECT_CAST (m))) /* retrieving data */ GstMemory * gst_memory_make_mapped (GstMemory *mem, GstMapInfo *info, GstMapFlags flags);