[FFmpeg-devel] [PATCH]Fix dxva2 detection

Ramiro Polla ramiro.polla at gmail.com
Tue Sep 13 20:16:33 CEST 2011

On Tue, Sep 13, 2011 at 9:45 AM, JonY <jon_y at users.sourceforge.net> wrote:
> On 9/13/2011 18:40, Carl Eugen Hoyos wrote:
>> Ramiro Polla <ramiro.polla <at> gmail.com> writes:
>>>> my problem is a false positive: dxva2 gets detected although the header does
>>>> not compile.
>>> What toolchain are you using? Can you describe the error?
>> mingw64, missing d3d9.h
>> Carl Eugen
> To explain clearer, the automated toolchain builds don't have ddk (from
> ROS) and directx (from WINE) headers, but some builds, eg Ruben's or the
> one from Cygwin Setup does have it.
> So best to only consider dxva2 only if d3d9.h is found.

Ok, I understand now. dxva2api.h is always installed, but only
functional if the directx headers are installed. So the patch is good
the way it is. Perhaps mingw-w64 should consider installing dxva2api
only when the directx headers are installed.


More information about the ffmpeg-devel mailing list