From 7920622ac7d135ed3247c4d17ec1751a25f4115b Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 23 Feb 2011 17:24:14 -0800 Subject: [PATCH] baseparse: make_metadata_writable() fix --- gst-libs/gst/baseparse/gstbaseparse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/baseparse/gstbaseparse.c b/gst-libs/gst/baseparse/gstbaseparse.c index a4a312aa6f..e465529dbd 100644 --- a/gst-libs/gst/baseparse/gstbaseparse.c +++ b/gst-libs/gst/baseparse/gstbaseparse.c @@ -1725,6 +1725,7 @@ gst_base_parse_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame) g_return_val_if_fail (buffer != NULL, GST_FLOW_ERROR); /* decorate */ + buffer = gst_buffer_make_metadata_writable (buffer); gst_buffer_set_caps (buffer, GST_PAD_CAPS (parse->srcpad)); parse->priv->seen_keyframe |= parse->priv->is_video && -- 2.34.1