[vlc-devel] [PATCH 1/4] codec: do not build DXVA2/D3D9 in winstore builds

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


It's forbidden
---
 modules/codec/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index fad41d08854..587029fd208 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -420,9 +420,11 @@ libdxva2_plugin_la_SOURCES = \
 	packetizer/hevc_nal.c packetizer/hevc_nal.h \
 	codec/avcodec/dxva_blacklist.c
 libdxva2_plugin_la_LIBADD = libd3d9_common.la $(LIBCOM) -lshlwapi -luuid
+if !HAVE_WINSTORE
 if HAVE_AVCODEC_DXVA2
 codec_LTLIBRARIES += libdxva2_plugin.la
 endif
+endif
 
 libd3d11_common_la_SOURCES = video_chroma/d3d11_fmt.c video_chroma/d3d11_fmt.h \
 	video_chroma/dxgi_fmt.c video_chroma/dxgi_fmt.h
-- 
2.17.1



More information about the vlc-devel mailing list