On Fri, May 05, 2017 at 02:13:01PM +0200, wm4 wrote:
> On Fri, 5 May 2017 14:00:34 +0200 Diego Biurrun <[email protected]> wrote:
> > On Thu, May 04, 2017 at 08:44:08AM +0200, wm4 wrote:
> > > --- a/configure
> > > +++ b/configure
> > > @@ -2168,7 +2168,7 @@ zmbv_encoder_deps="zlib"
> > >  # hardware accelerators
> > >  d3d11va_deps="d3d11_h dxva_h ID3D11VideoDecoder"
> > >  d3d11va_lib_deps="d3d11va"
> > > -dxva2_deps="dxva2api_h DXVA2_ConfigPictureDecode"
> > > +dxva2_deps="dxva2api_h DXVA2_ConfigPictureDecode ole32"
> > >  dxva2_lib_deps="dxva2"
> > >  vda_deps="VideoDecodeAcceleration_VDADecoder_h blocks_extension pthreads"
> > >  vda_extralibs="-framework CoreFoundation -framework 
> > > VideoDecodeAcceleration -framework QuartzCore"
> > > @@ -4659,6 +4668,7 @@ check_builtin stdatomic_h stdatomic.h "atomic_int 
> > > foo; atomic_store(&foo, 0)"
> > >  check_lib shell32  "windows.h shellapi.h" CommandLineToArgvW   -lshell32
> > >  check_lib wincrypt "windows.h wincrypt.h" CryptGenRandom       -ladvapi32
> > >  check_lib psapi    "windows.h psapi.h"    GetProcessMemoryInfo -lpsapi
> > > +check_lib ole32    "windows.h"            CoTaskMemFree        -lole32  
> > 
> > There already is a check for ole32 for dxva2_lib below, that is now 
> > duplicated.
> 
> I couldn't figure out how to use that. I got tired of trying too,
> because running configure takes like 5 minutes.

Adding ole32 to dxva2_lib_deps should be enough.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to