From 86f506e9d8c5654e45313e3d97c9b84cd656d762 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 26 Feb 2014 15:36:42 +0100 Subject: [PATCH] buffer: remove wrong comment Refcount and writability are not related for memory objects. --- gst/gstbuffer.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gst/gstbuffer.c b/gst/gstbuffer.c index ef29355..868012f 100644 --- a/gst/gstbuffer.c +++ b/gst/gstbuffer.c @@ -898,10 +898,6 @@ _get_mapped (GstBuffer * buffer, guint idx, GstMapInfo * info, * the memory block in @buffer is removed, replaced or merged, typically with * any call that modifies the memory in @buffer. * - * Since this call does not influence the refcount of the memory, - * gst_memory_is_writable() can be used to check if @buffer is the sole owner - * of the returned memory. - * * Returns: (transfer none): the #GstMemory at @idx. */ GstMemory * -- 2.7.4