summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-08-24 15:32:12 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-08-24 16:37:30 +0100
commit04f7876f94bc9febd9dd073fca92af6b87259af2 (patch)
tree2856400b642007261e1a52b3874ff40dfb9bbee3 /ext
parentc86aba34698b0a7d5f630ac297866286cafb09c0 (diff)
rsndvd: ensure metadata is writable when writing to it
https://bugzilla.gnome.org/show_bug.cgi?id=657250
Diffstat (limited to 'ext')
-rw-r--r--ext/resindvd/rsnwrappedbuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/resindvd/rsnwrappedbuffer.c b/ext/resindvd/rsnwrappedbuffer.c
index 6e2579c67..516cf352c 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. */