glcontext: egl: Fix build with win32 window system
authorSeungha Yang <seungha.yang@navercorp.com>
Tue, 18 Feb 2020 10:40:34 +0000 (19:40 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Tue, 18 Feb 2020 11:10:22 +0000 (20:10 +0900)
gst-libs/gst/gl/egl/gstglcontext_egl.c
gst-libs/gst/gl/meson.build

index fb5af10..147b7e9 100644 (file)
@@ -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
index dc90908..adcd145 100644 (file)
@@ -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.')