On Tue, May 26, 2015 at 1:42 AM, James Almer <[email protected]> wrote:
> On 25/05/15 8:24 PM, James Almer wrote:
>> On 25/05/15 11:49 AM, Steve Lhomme wrote:
>>> ---
>>>  configure | 5 -----
>>>  1 file changed, 5 deletions(-)
>>>
>>> diff --git a/configure b/configure
>>> index 18280b9..a9ecad1 100755
>>> --- a/configure
>>> +++ b/configure
>>> @@ -1555,7 +1555,6 @@ HAVE_LIST="
>>>      atomics_native
>>>      dos_paths
>>>      d3d11_cobj
>>> -    d3d11va_lib
>>>      dxva2_lib
>>>      libc_msvcrt
>>>      libdc1394_1
>>> @@ -4618,10 +4617,6 @@ check_deps $CONFIG_LIST       \
>>>             $HAVE_LIST         \
>>>             $ALL_COMPONENTS    \
>>>
>>> -enabled_all d3d11va d3d11_cobj CoTaskMemFree &&
>>> -    prepend avconv_libs $($ldflags_filter "-lole32") &&
>>> -    enable d3d11va_lib
>>> -
>>>  enabled_all dxva2 CoTaskMemFree &&
>>>      prepend avconv_libs $($ldflags_filter "-lole32") &&
>>>      enable dxva2_lib
>>
>> You could also remove d3d11_cobj and its configure check, then.
>
> Actually no, don't remove the d3d11_cobj check. Repurpose it as it's the only 
> check that actually makes
> sure things will work: 
> https://fate.libav.org/x86_64-mingw-w64-gcc-5.1/20150525105137/compile
>
> CONFIG_D3D11VA, currently checked in libavcodec, is true if d3d11.h and 
> dxva.h exist, but those existing
> doesn't mean the needed functionality is there, as shown in the above FATE 
> client using a recent mingw-w64
> version.


Yes, I sent patches to add the necessary interface but they are not
there by default and should be detected. I'll try to fix the configure
script and/or use the proper ifdef in the code so it's safe.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to