* that it returns. Don't access the argument after calling this function unless
* you have an additional reference to it.
*
- * Returns: (transfer full): a writable buffer which may or may not be the
- * same as @buf
+ * Returns: (transfer full) (nullable): a writable buffer (which may or may not be the
+ * same as @buf) or %NULL if copying is required but not possible.
*/
#define gst_buffer_make_writable(buf) GST_BUFFER_CAST (gst_mini_object_make_writable (GST_MINI_OBJECT_CAST (buf)))
* }
* ```
*
+ * #GstMapInfo cannot be used with g_auto() because it is ambiguous whether it
+ * needs to be unmapped using gst_buffer_unmap() or gst_memory_unmap().
+ *
+ * See also #GstMemoryMapInfo.
+ *
* Since: 1.22
*/
typedef GstMapInfo GstBufferMapInfo;