[vlc-devel] [vlc-commits] DXVA2_ModeVC1_D2010 is specified by Microsoft

Jean-Baptiste Kempf jb at videolan.org
Tue Feb 7 19:57:22 CET 2012


On Tue, Feb 07, 2012 at 01:47:57PM -0500, Rafaël Carré wrote :
> I don't think Microsoft will update the header since their API/ABI is
> sacro-saint.

This is why they use COM and IUnknown derivatives...

> #if !defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 3
> # define MINGW_GUID(bla) DEFINE_GUID(bla)
> #else
> # define MINGW_GUID(bla)
> #endif
> 
> Then using per-codec ordering?

Why no using directly:
#define DEFINE_GUID_IF_NOT_EXIST(bla) \
 #ifndef bla
 DEFINE_GUID(bla)
 #endif


-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list