Re: [FFmpeg-devel] Install config.h?

2015-10-09 Thread Ronald S. Bultje
Hi,

On Fri, Oct 9, 2015 at 12:49 PM, Gonzalo  wrote:

> Hi,
>
> I would like my program to print out its ffmpeg compile options like
> ffplay or ffmpeg do.  However, that info seems to be part of config.h which
> is not installed.  I would like to make a request to install it unless
> there's other way to get that info.


avconfig.h is the installed counterpart. If you want something from
config.h available in applications, move it to avconfig.h. config.h will
never be installed.

Ronald
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] Install config.h?

2015-10-09 Thread Gonzalo

Hi,

I would like my program to print out its ffmpeg compile options like 
ffplay or ffmpeg do.  However, that info seems to be part of config.h 
which is not installed.  I would like to make a request to install it 
unless there's other way to get that info.

Thank you very much.

Gonzalo Garramuño
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] Install config.h?

2015-10-09 Thread Gonzalo



El 09/10/15 a las 14:18, Ronald S. Bultje escribió:

avconfig.h is the installed counterpart. If you want something from
config.h available in applications, move it to avconfig.h. config.h will
never be installed.
Thanks.  Find attached a patch for configure to have avconfig.h list the 
configuration and license.



diff --git a/configure b/configure
index b572d59..4196088 100755
--- a/configure
+++ b/configure
@@ -6224,6 +6224,8 @@ cat > $TMPH <___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] Install config.h?

2015-10-09 Thread Nicolas George
L'octidi 18 vendémiaire, an CCXXIV, Ronald S. Bultje a écrit :
> avconfig.h is the installed counterpart. If you want something from
> config.h available in applications, move it to avconfig.h.

Before that, look at avcodec_configuration() and cousins. ffmpeg.c and the
other command line programs do nothing special at this level.

>config.h will
> never be installed.

Actually, I was lazily considering making a patch to install it, but in
share/doc/, for reference: when upgrading, comparing the new configuration
with the old may have some use.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel