mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
gstbuffer: Add a note about metas needing to be copied last
This commit is contained in:
parent
58e5cd2695
commit
b0c072711d
1 changed files with 3 additions and 0 deletions
|
@ -487,6 +487,9 @@ gst_buffer_copy_into (GstBuffer * dest, GstBuffer * src,
|
|||
}
|
||||
|
||||
if (flags & GST_BUFFER_COPY_META) {
|
||||
/* NOTE: GstGLSyncMeta copying relies on the meta
|
||||
* being copied now, after the buffer data,
|
||||
* so this has to happen last */
|
||||
for (walk = GST_BUFFER_META (src); walk; walk = walk->next) {
|
||||
GstMeta *meta = &walk->meta;
|
||||
const GstMetaInfo *info = meta->info;
|
||||
|
|
Loading…
Reference in a new issue