From 929c17e6cc4e384cec939ecb8999cfae00dac4be Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 18 Feb 2020 19:40:34 +0900 Subject: [PATCH] glcontext: egl: Fix build with win32 window system --- gst-libs/gst/gl/egl/gstglcontext_egl.c | 3 ++- gst-libs/gst/gl/meson.build | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/egl/gstglcontext_egl.c b/gst-libs/gst/gl/egl/gstglcontext_egl.c index fb5af1005f..147b7e9b0d 100644 --- a/gst-libs/gst/gl/egl/gstglcontext_egl.c +++ b/gst-libs/gst/gl/egl/gstglcontext_egl.c @@ -805,7 +805,8 @@ gst_gl_context_egl_create_context (GstGLContext * context, #endif #if GST_GL_HAVE_WINDOW_WIN32 if (GST_IS_GL_WINDOW_WIN32 (context->window)) { - gst_gl_window_win32_create_window ((GstGLWindowWin32 *) context->window); + gst_gl_window_win32_create_window ((GstGLWindowWin32 *) context->window, + NULL); } #endif #if GST_GL_HAVE_WINDOW_DISPMANX diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build index dc90908732..adcd1455e4 100644 --- a/gst-libs/gst/gl/meson.build +++ b/gst-libs/gst/gl/meson.build @@ -976,7 +976,7 @@ if build_gstgl gstgl_dep = declare_dependency(link_with : gstgl, include_directories : [libsinc, compat_includes], sources: gen_sources, - dependencies : [video_dep, gst_base_dep] + gl_winsys_deps) + dependencies : [video_dep, gst_base_dep] + gl_lib_deps + gl_winsys_deps) elif get_option('gl').enabled() error('GStreamer OpenGL integration required via options, but needed dependencies not found.')