gst/gstbuffer.c (gst_buffer_default_copy): Don't forget to merge the flags from the buffer we're copying.

Original commit message from CVS:
* gst/gstbuffer.c (gst_buffer_default_copy): Don't forget to merge
the flags from the buffer we're copying.
This commit is contained in:
Johan Dahlin 2004-06-09 16:04:37 +00:00
parent 9ed520d4e2
commit aea04009d0
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-06-09 Johan Dahlin <johan@gnome.org>
* gst/gstbuffer.c (gst_buffer_default_copy): Don't forget to merge
the flags from the buffer we're copying.
2004-06-09 Wim Taymans <wim@fluendo.com>
* gst/elements/gstfakesink.c: (gst_fakesink_chain):

View file

@ -150,6 +150,7 @@ gst_buffer_default_copy (GstBuffer * buffer)
/* copy relevant flags */
flags = GST_DATA_FLAG_SHIFT (GST_BUFFER_KEY_UNIT) |
GST_DATA_FLAG_SHIFT (GST_BUFFER_IN_CAPS);
flags = GST_BUFFER_FLAGS (buffer) & flags;
_GST_DATA_INIT (GST_DATA (copy),
_gst_buffer_type,