adapter: Copy over GstMeta from the input buffers to the output
authorSebastian Dröge <sebastian@centricular.com>
Mon, 29 Jun 2015 15:03:10 +0000 (17:03 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 30 Jun 2015 16:40:28 +0000 (18:40 +0200)
commite6757269dbbee955edca9b0301379577fe8aa6cd
tree93b6b44d9c1afae5c4edfa5c666c7c7c6ef3d551
parent3ed95158cc5c2699b9be86ba9413cbde5920b004
adapter: Copy over GstMeta from the input buffers to the output

All functions that return a GstBuffer or a list of them will now copy
all GstMeta from the input buffers except for meta with GST_META_FLAG_POOLED
flag or "memory" tag.

This is similar to the existing behaviour that the caller can't assume
anything about the buffer flags, timestamps or other metadata. And it's
also the same that gst_adapter_take_buffer_fast() did before, and what
gst_adapter_take_buffer() did if part of the first buffer or the complete
first buffer was requested.

https://bugzilla.gnome.org/show_bug.cgi?id=742385
libs/gst/base/gstadapter.c