mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
glsyncmeta: Set new sync point when copying
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
This commit is contained in:
parent
7a288b0189
commit
f6a102c3e5
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue