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:
0ce8d77
)
glsyncmeta: Set new sync point when copying
author
Jan Schmidt
<jan@centricular.com>
Tue, 2 Jun 2015 14:31:42 +0000
(
00:31
+1000)
committer
Jan Schmidt
<jan@centricular.com>
Tue, 2 Jun 2015 14:50:29 +0000
(
00:50
+1000)
Set a new sync point when copying instead of
transferring the (non-refcounted) GL sync object
from the source meta.
https://bugzilla.gnome.org/show_bug.cgi?id=750279
gst-libs/gst/gl/gstglsyncmeta.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglsyncmeta.c
b/gst-libs/gst/gl/gstglsyncmeta.c
index
820d8d2
..
dd195cc
100644
(file)
--- a/
gst-libs/gst/gl/gstglsyncmeta.c
+++ b/
gst-libs/gst/gl/gstglsyncmeta.c
@@
-128,7
+128,9
@@
_gst_gl_sync_meta_transform (GstBuffer * dest, GstMeta * meta,
GST_LOG ("copy sync object %p from meta %p to %p", smeta->glsync,
smeta, dmeta);
- dmeta->glsync = smeta->glsync;
+ /* Setting a sync point here relies on GstBuffer copying
+ * metas after data */
+ gst_gl_sync_meta_set_sync_point (dmeta, smeta->context);
}
}
return TRUE;