projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58e5cd2
)
gstbuffer: Add a note about metas needing to be copied last
author
Jan Schmidt
<jan@centricular.com>
Tue, 2 Jun 2015 14:12:36 +0000
(
00:12
+1000)
committer
Jan Schmidt
<jan@centricular.com>
Tue, 2 Jun 2015 14:48:17 +0000
(
00:48
+1000)
gst/gstbuffer.c
patch
|
blob
|
history
diff --git
a/gst/gstbuffer.c
b/gst/gstbuffer.c
index
07d1e29
..
aee8fca
100644
(file)
--- a/
gst/gstbuffer.c
+++ b/
gst/gstbuffer.c
@@
-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;