mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
glsync: fix build with desktop gl
This commit is contained in:
parent
83b6572928
commit
81a470905b
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ gst_gl_sync_meta_wait (GstGLSyncMeta * sync_meta)
|
||||||
{
|
{
|
||||||
#if GST_GL_HAVE_OPENGL
|
#if GST_GL_HAVE_OPENGL
|
||||||
if (sync_meta->glsync
|
if (sync_meta->glsync
|
||||||
&& gst_gl_context_get_gl_api (context) & GST_GL_API_OPENGL3) {
|
&& gst_gl_context_get_gl_api (sync_meta->context) & GST_GL_API_OPENGL3) {
|
||||||
gst_gl_context_thread_add (sync_meta->context,
|
gst_gl_context_thread_add (sync_meta->context,
|
||||||
(GstGLContextThreadFunc) _wait, sync_meta);
|
(GstGLContextThreadFunc) _wait, sync_meta);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue