[FFmpeg-devel] [PATCH] force WINAPI_FAMILY to WINAPI_FAMILY_DESKTOP_APP to use DVXA

Michael Niedermayer michael at niedermayer.cc
Sun Jul 26 22:16:16 CEST 2015


On Sun, Jul 26, 2015 at 01:35:47PM +0200, Steve Lhomme wrote:
> The struct definitions in dxva.h, which are necessary in order to
> actually use d3d11va, are hidden when WINAPI_FAMILY targets Windows Phone
> or WindowsRT.
> 
> Building with WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP is disallowed
> when targeting ARM. ("Compiling Desktop applications for the ARM
> platform is not supported.") So we set _CRT_BUILD_DESKTOP_APP to 0
> to tell the runtime not to detect some issues with this mismatching.
> 
> The same tweaks to detect if the API is available is done in dxva2_internal.h
> when compiling each DXVA2/D3D11VA decoders.
> ---
>  configure                   | 2 +-
>  libavcodec/dxva2_internal.h | 7 +++++++
>  2 files changed, 8 insertions(+), 1 deletion(-)

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150726/9f022d1f/attachment.sig>


More information about the ffmpeg-devel mailing list