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:
Tim-Philipp Müller 2006-05-09 12:01:32 +00:00
parent 84e61b79c6
commit 6e44ba3958
2 changed files with 8 additions and 0 deletions

View file

@ -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:

View file

@ -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);
}