[Bug 791772] New: Meson build fix for windows opengl support

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 19 07:47:38 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=791772

            Bug ID: 791772
           Summary: Meson build fix for windows opengl support
    Classification: Platform
           Product: GStreamer
           Version: 1.12.4
                OS: Windows
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: gdevel at clixxun.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 365734
  --> https://bugzilla.gnome.org/attachment.cgi?id=365734&action=edit
diff file with fix

fixed: gst-plugins-bad-1.12.4\gst-libs\gst\gl\meson.build 

When building gst-plugins-bad 1.12.4 on Windows with meson, the gstglconfig.h
is not initialized correctly. Also win32/gstglcontext_wgl.c is not included.

Here is the patch to fix that:

+++ .\gstreamer\gst-plugins-bad-1.12.4\gst-libs\gst\gl\meson.build      
2017-12-19 08:30:36 +0100
@@ -549,10 +549,13 @@
       'win32/win32_message_source.c',
       'win32/gstglwindow_win32.c',
       'win32/gstglwindow_win32.c',
+      'win32/gstglcontext_wgl.c',
     ]
     enabled_gl_winsys += 'win32'
     gl_winsys_deps += gdi_dep
     enabled_gl_platforms += 'wgl'
+    glconf.set10('GST_GL_HAVE_WINDOW_WIN32', 1)
+    glconf.set10('GST_GL_HAVE_PLATFORM_WGL', 1)
   endif
 endif

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list