From a9de98830a377d47525ea261e0938253614b9984 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Thu, 29 Oct 2009 15:16:59 +0100 Subject: [PATCH] baseparse: ensure buffer metadata is writable --- gst/aacparse/gstbaseparse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/aacparse/gstbaseparse.c b/gst/aacparse/gstbaseparse.c index 84075972a5..f07c61b050 100644 --- a/gst/aacparse/gstbaseparse.c +++ b/gst/aacparse/gstbaseparse.c @@ -1171,6 +1171,7 @@ gst_base_parse_chain (GstPad * pad, GstBuffer * buffer) /* FIXME: Would it be more efficient to make a subbuffer instead? */ outbuf = gst_adapter_take_buffer (parse->adapter, fsize); + outbuf = gst_buffer_make_metadata_writable (outbuf); /* Subclass may want to know the data offset */ GST_BUFFER_OFFSET (outbuf) = parse->priv->offset;