mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
rsndvd: ensure metadata is writable when writing to it
https://bugzilla.gnome.org/show_bug.cgi?id=657250
This commit is contained in:
parent
c86aba3469
commit
04f7876f94
1 changed files with 1 additions and 0 deletions
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue