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

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


Loading dxva2.dll or linking with the DLL directly and use 
DXVA2CreateDirect3DDeviceManager9().

On 2020-04-27 17:26, Jean-Baptiste Kempf wrote:
> What symbol is forbidden?
> 
> On Mon, Apr 27, 2020, at 16:22, Steve Lhomme wrote:
>> 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
>>
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
> 
> -- 
> Jean-Baptiste Kempf -  President
> +33 672 704 734
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


More information about the vlc-devel mailing list