[MPlayer-dev-eng] [PATCH]Support ProRes if libopencore is not available / was disabled

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Sep 15 21:34:29 CEST 2011


Hi!

I will apply attached if nobody has better ideas, Carl Eugen
-------------- next part --------------
Index: configure
===================================================================
--- configure	(revision 34105)
+++ configure	(working copy)
@@ -6867,6 +6867,15 @@
 fi
 echores "$_libopencore_amrwb"
 
+
+if test "$_libopencore_amrnb" = no && test "$_libopencore_amrwb" = no ; then
+  libavdecoders="$libavdecoders PRORES_DECODER"
+  def_ffmpeg_license='#define FFMPEG_LICENSE "GPL version 2"'
+else
+  def_ffmpeg_license='#define FFMPEG_LICENSE "GPL version 2 or later"'
+fi
+
+
 echocheck "libdv-0.9.5+"
 if test "$_libdv" = auto ; then
   _libdv=no
@@ -8603,7 +8612,7 @@
 #endif
 
 #define FFMPEG_CONFIGURATION "--enable-gpl --enable-postproc"
-#define FFMPEG_LICENSE "GPL version 2 or later"
+$def_ffmpeg_license
 
 #define LIBAV_CONFIGURATION FFMPEG_CONFIGURATION
 #define LIBAV_LICENSE FFMPEG_LICENSE


More information about the MPlayer-dev-eng mailing list