[vlc-devel] [PATCH 22/22] d3d11va: we need to link to d3d11 directly for Winstore

Steve Lhomme robux4 at gmail.com
Fri Jul 31 16:55:06 CEST 2015


--
we can't load it dynamically
---
 modules/codec/Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 70ef713..9cbab0b 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -362,6 +362,9 @@ libd3d11va_plugin_la_SOURCES = \
 	video_chroma/dxgi_fmt.c video_chroma/dxgi_fmt.h \
 	packetizer/h264_nal.c packetizer/h264_nal.h
 libd3d11va_plugin_la_LIBADD = -lole32 -luuid
+if HAVE_WINSTORE
+libd3d11va_plugin_la_LIBADD += -ld3d11
+endif
 if HAVE_AVCODEC_D3D11VA
 codec_LTLIBRARIES += libd3d11va_plugin.la
 endif
-- 
2.4.2




More information about the vlc-devel mailing list