[vlc-commits] codec: disable DMO in winstore builds

Steve Lhomme git at videolan.org
Thu Apr 30 12:09:45 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Apr 27 15:54:12 2020 +0200| [7ee997889c435e356897e04729301c28e1bf223a] | committer: Steve Lhomme

codec: disable DMO in winstore builds

We cannot load msdmo.dll or any of the known *dmod.dll DLLs if they are not
part of our app package.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7ee997889c435e356897e04729301c28e1bf223a
---

 modules/codec/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 587029fd20..947b68ee33 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -595,8 +595,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



More information about the vlc-commits mailing list