[FFmpeg-devel] [PATCH]Fix dxva2 detection

Ramiro Polla ramiro.polla at gmail.com
Tue Sep 13 12:19:06 CEST 2011


On Tue, Sep 13, 2011 at 5:17 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 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.

What toolchain are you using? Can you describe the error?


More information about the ffmpeg-devel mailing list