[FFmpeg-devel] [PATCH]Fix dxva2 detection
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Sep 13 10:17:21 CEST 2011
Ramiro Polla <ramiro.polla <at> gmail.com> writes:
> > I needed this patch on Win64, any objections?
> > See libavcodec/dxva2_internal.h, line 26.
> The only issue I know of while detecting dxva2 with mingw-w64 is
> caused by this line:
> check_struct dxva2api.h DXVA_PictureParameters wDecodedPictureIndex
Iiuc, you are describing false negatives (dxva2-vc1 not enabled), but my problem
is a false positive: dxva2 gets detected although the header does not compile.
I believe I was also able to reproduce the false negative you describe, but I
wonder if it is not possible to also add -D_WIN32_WINNT=0x0600
Pushed, Carl Eugen
More information about the ffmpeg-devel