mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
9ed520d4e2
commit
aea04009d0
2 changed files with 6 additions and 0 deletions
|
@ -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):
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue