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. */