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:
0602539
)
glcolorconvert: wait on the sync meta for input buffers
author
Matthew Waters
<matthew@centricular.com>
Thu, 5 Nov 2015 16:05:31 +0000
(
03:05
+1100)
committer
Matthew Waters
<matthew@centricular.com>
Tue, 10 Nov 2015 04:42:35 +0000
(15:42 +1100)
gst-libs/gst/gl/gstglcolorconvert.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglcolorconvert.c
b/gst-libs/gst/gl/gstglcolorconvert.c
index
f05b197
..
eb400f8
100644
(file)
--- a/
gst-libs/gst/gl/gstglcolorconvert.c
+++ b/
gst-libs/gst/gl/gstglcolorconvert.c
@@
-1933,6
+1933,7
@@
_do_convert (GstGLContext * context, GstGLColorConvert * convert)
gboolean res = TRUE;
gint views, v;
GstVideoOverlayCompositionMeta *composition_meta;
+ GstGLSyncMeta *sync_meta;
convert->outbuf = NULL;
@@
-1941,6
+1942,10
@@
_do_convert (GstGLContext * context, GstGLColorConvert * convert)
return;
}
+ sync_meta = gst_buffer_get_gl_sync_meta (convert->inbuf);
+ if (sync_meta)
+ gst_gl_sync_meta_wait (sync_meta, convert->context);
+
convert->outbuf = gst_buffer_new ();
if (!gst_gl_memory_setup_buffer (convert->context,
convert->priv->to_texture_target, NULL, &convert->out_info, NULL,