mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-02 18:23:56 +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
0ce8d77e54
commit
840f63896f
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,
|
GST_LOG ("copy sync object %p from meta %p to %p", smeta->glsync,
|
||||||
smeta, dmeta);
|
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;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue