[vlc-commits] codec: do not build DXVA2/D3D9 in winstore builds

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


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Apr 27 15:39:40 2020 +0200| [d490d043572587cd6cd90d0199cf014bf4441c64] | committer: Steve Lhomme

codec: do not build DXVA2/D3D9 in winstore builds

It's forbidden

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

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

diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index fad41d0885..587029fd20 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



More information about the vlc-commits mailing list