[vlc-devel] [PATCH] configure: HAVE_AVCODEC_DXVA2 is set with AM_CONDITIONAL but never defined

Steve Lhomme robux4 at videolabs.io
Mon Jun 1 15:13:12 CEST 2015


On Mon, Jun 1, 2015 at 2:57 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2015-06-01 15:49, Steve Lhomme a écrit :
>>
>> ---
>>  configure.ac | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/configure.ac b/configure.ac
>> index 6d5d0e2..23c2b44 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -2367,6 +2367,7 @@ AS_IF([test "${enable_dxva2}" != "no"], [
>>        [
>>          AC_CHECK_HEADERS(libavcodec/dxva2.h, [
>>             AC_MSG_NOTICE([DxVA2 acceleration activated])
>> +           AC_DEFINE(HAVE_AVCODEC_DXVA2, 1, [Define if the dxva2
>> module is built])
>
>
> I don't see where this is necessary/used.

It's not used. But in my incremental work on DXVA2/DR I needed it and
it was missing.

>>             have_avcodec_dxva2="yes"
>>          ],[
>>      AS_IF([test "${enable_dxva2}" = "yes"],
>
>
> --
> Rémi Denis-Courmont
> Remlab T:mi
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list