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

Rafaël Carré funman at videolan.org
Tue Feb 7 19:59:03 CET 2012


Le 2012-02-07 13:57, Jean-Baptiste Kempf a écrit :
> 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

The GUIDs are not defined by preprocessor (#define)



More information about the vlc-devel mailing list