From 04f7876f94bc9febd9dd073fca92af6b87259af2 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Wed, 24 Aug 2011 15:32:12 +0100 Subject: [PATCH] rsndvd: ensure metadata is writable when writing to it https://bugzilla.gnome.org/show_bug.cgi?id=657250 --- ext/resindvd/rsnwrappedbuffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/resindvd/rsnwrappedbuffer.c b/ext/resindvd/rsnwrappedbuffer.c index 6e2579c670..516cf352c3 100644 --- a/ext/resindvd/rsnwrappedbuffer.c +++ b/ext/resindvd/rsnwrappedbuffer.c @@ -132,6 +132,7 @@ rsn_wrappedbuffer_unwrap_and_unref (RsnWrappedBuffer * wrap_buf) g_return_val_if_fail (wrap_buf->wrapped_buffer != NULL, NULL); buf = gst_buffer_ref (wrap_buf->wrapped_buffer); + buf = gst_buffer_make_metadata_writable (buf); /* Copy changed metadata back to the wrapped buffer from the wrapper, * except the the read-only flag and the caps. */