[vlc-devel] [vlc-commits] Dxva2 is only available in Windows Vista and above
Jean-Baptiste Kempf
jb at videolan.org
Wed Dec 7 18:22:35 CET 2011
On Wed, Dec 07, 2011 at 12:14:22PM -0500, Rafaël Carré wrote :
> Le Wed, 7 Dec 2011 18:01:27 +0100,
> Jean-Baptiste Kempf <jb at videolan.org> a écrit :
>
> > On Wed, Dec 07, 2011 at 05:41:27PM +0100, Rafaël Carré wrote :
> > > +# undef _WIN32_WINNT
> >
> > This is a horrible hack.
>
> We use AC_DEFINE to define it to XP compatibility before checking dxva2 headers so it's required
It isn't required, since we need to check the header presence, not to
compile them.
> I found this in libav, it's required to get some helpers like:
> #define IDirectXVideoDecoder_Release(This) (This)->lpVtbl->Release(This)
It isn't needed, if you have correctly defined the CINTERFACE, as you
can clearly see at the bottom of the dxva2api.h file.
Best regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list