[MPlayer-cvslog] r38007 - trunk/configure

iive subversion at mplayerhq.hu
Sun Nov 26 03:25:34 EET 2017


Author: iive
Date: Sun Nov 26 03:25:33 2017
New Revision: 38007

Log:
Prepare configure for upcoming changes in FFmpeg.

Hardware Acceleration structures are moving 
from allcodecs.c to hwaccels.h file.

This code checks the hwaccels.h file first,
if that fails then it checks allcodecs.c file.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Nov 17 00:48:59 2017	(r38006)
+++ trunk/configure	Sun Nov 26 03:25:33 2017	(r38007)
@@ -1555,7 +1555,12 @@ echocheck "ffmpeg/libavcodec/allcodecs.c
 libavdecoders_all=$(list_subparts  DEC      decoder  codec/allcodecs.c)
 libavencoders_all=$(list_subparts  ENC      encoder  codec/allcodecs.c)
 libavparsers_all=$(list_subparts   PARSER   parser   codec/allcodecs.c)
-libavhwaccels_all=$(list_subparts  HWACCEL  hwaccel  codec/allcodecs.c)
+test $? -eq 0 && _list_subparts=found || _list_subparts="not found"
+echores "$_list_subparts"
+
+echocheck "ffmpeg/libavcodec/hwaccels.h"
+libavhwaccels_all=$(list_subparts_extern  AVHWAccel hwaccel codec/hwaccels.h)
+test $? -eq 0 || libavhwaccels_all=$(list_subparts  HWACCEL  hwaccel  codec/allcodecs.c)
 test $? -eq 0 && _list_subparts=found || _list_subparts="not found"
 echores "$_list_subparts"
 


More information about the MPlayer-cvslog mailing list