mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
gst/gstbuffer.c: gst_buffer_make_metadata_writable() should maintain the buffer flags (those that make sense at least...
Original commit message from CVS: * gst/gstbuffer.c: (gst_buffer_make_metadata_writable): gst_buffer_make_metadata_writable() should maintain the buffer flags (those that make sense at least) (see #340859).
This commit is contained in:
parent
84e61b79c6
commit
6e44ba3958
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
|
||||
gst_buffer_make_metadata_writable() should maintain the
|
||||
buffer flags (those that make sense at least) (see #340859).
|
||||
|
||||
2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* tools/gst-inspect.c:
|
||||
|
|
|
@ -376,6 +376,8 @@ gst_buffer_make_metadata_writable (GstBuffer * buf)
|
|||
ret = buf;
|
||||
} else {
|
||||
ret = gst_buffer_create_sub (buf, 0, GST_BUFFER_SIZE (buf));
|
||||
GST_BUFFER_FLAGS (ret) = GST_BUFFER_FLAGS (buf);
|
||||
GST_BUFFER_FLAG_UNSET (ret, GST_BUFFER_FLAG_IN_CAPS);
|
||||
gst_buffer_unref (buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue