[vlc-commits] [Git][videolan/vlc][master] wasm: gl: disable egl_pbuffer for emscripten

François Cartegnie (@fcartegnie) gitlab at videolan.org
Thu Mar 21 12:42:21 UTC 2024



François Cartegnie pushed to branch master at VideoLAN / VLC


Commits:
c0308a8c by Alaric Senat at 2024-03-21T12:17:38+00:00
wasm: gl: disable egl_pbuffer for emscripten

Emscripten does not provide `eglCreatePbufferSurface` and the module is
built for every EGL supporting platforms since
75b62f44d8d08aac581e67dea4b4658b3736ce9f.
This was not failing on the CI as we don't link for now. Only the symbol
is missing from the implementation.

- - - - -


1 changed file:

- modules/video_output/opengl/Makefile.am


Changes:

=====================================
modules/video_output/opengl/Makefile.am
=====================================
@@ -221,6 +221,7 @@ libegl_pbuffer_filter_plugin_la_SOURCES = video_filter/egl_pbuffer.c \
 libegl_pbuffer_filter_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(EGL_FLAGS)
 libegl_pbuffer_filter_plugin_la_LIBADD = $(EGL_LIBS)
 
+if !HAVE_EMSCRIPTEN
 if HAVE_EGL
 if HAVE_GL
 libegl_pbuffer_filter_plugin_la_LIBADD += libvlc_opengl.la $(GL_LIBS)
@@ -233,6 +234,7 @@ vout_LTLIBRARIES += libegl_pbuffer_filter_plugin.la
 endif
 endif
 endif
+endif
 
 libegl_surfacetexture_plugin_la_SOURCES = video_filter/egl_surfacetexture.c
 libegl_surfacetexture_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS) -DUSE_OPENGL_ES2



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c0308a8c36f481f7108986d268a130051f7d5b00

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c0308a8c36f481f7108986d268a130051f7d5b00
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list