rsndvd: ensure metadata is writable when writing to it

https://bugzilla.gnome.org/show_bug.cgi?id=657250
This commit is contained in:
Vincent Penquerc'h 2011-08-24 15:32:12 +01:00 committed by Tim-Philipp Müller
parent c86aba3469
commit 04f7876f94

View file

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