configure: Require LPDIRECT3DSURFACE9 for dxva2
authorMartin Storsjö <martin@martin.st>
Mon, 1 Jun 2015 09:06:08 +0000 (12:06 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 1 Jun 2015 20:04:49 +0000 (23:04 +0300)
This fixes dxva2 detection (i.e. correctly realizes that it isn't
available) for WinRT, where dxva2api.h does exist, but these definitions
are omitted (when targeting the API subsets).

Ideally we should rather check for e.g. DXVA2_ConfigPictureDecode,
but configure might fail to find that definition due to _WIN32_WINNT
not being set to the right value during configure. (libavcodec/dxva2.h
manually overrides the _WIN32_WINNT define.)

This allows removing hardcoded --disable-dxva2 from such build
configurations.

Signed-off-by: Martin Storsjö <martin@martin.st>

No differences found