[vlc-devel] [PATCH 3/4] codec: disable DMO in winstore builds

Steve Lhomme robux4 at ycbcr.xyz
Mon Apr 27 16:22:18 CEST 2020


We cannot load msdmo.dll or any of the known *dmod.dll DLLs if they are not
part of our app package.
---
 modules/codec/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 34387d9f468..a271901419a 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -597,8 +597,10 @@ libqsv_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
 libdmo_plugin_la_LIBADD = $(LIBM)
 if HAVE_WIN32
 libdmo_plugin_la_LIBADD += $(LIBCOM) -luuid
+if !HAVE_WINSTORE
 codec_LTLIBRARIES += libdmo_plugin.la
 endif
+endif
 
 libmft_plugin_la_SOURCES = codec/mft.c packetizer/h264_nal.c packetizer/h264_nal.h
 if HAVE_WIN32
-- 
2.17.1



More information about the vlc-devel mailing list