summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2011-02-23 17:24:14 -0800
committerDavid Schleef <ds@schleef.org>2011-02-25 20:00:41 -0800
commit7920622ac7d135ed3247c4d17ec1751a25f4115b (patch)
tree443826216c27a293b69ee07bdc074c3091101b02
parent6526548962cc3f4e855d8f35c812e9add3db36a9 (diff)
baseparse: make_metadata_writable() fix
-rw-r--r--gst-libs/gst/baseparse/gstbaseparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/baseparse/gstbaseparse.c b/gst-libs/gst/baseparse/gstbaseparse.c
index a4a312aa6..e465529db 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 &&