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

2015-07-26 Thread Michael Niedermayer
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 > wh

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

2015-07-26 Thread Steve Lhomme
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

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

2015-07-23 Thread Steve Lhomme
otherwise the API is hidden for Windows Phone / WindowsRT when in fact it's there and working --- configure | 2 +- libavcodec/dxva2_internal.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 84b7826..d2ebfa9 100755 --- a/configu