glcontext: egl: Fix build with win32 window system

This commit is contained in:
Seungha Yang 2020-02-18 19:40:34 +09:00
parent e78c5ffb1b
commit 929c17e6cc
2 changed files with 3 additions and 2 deletions

View 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

View 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.')