[SCM] libav/experimental: Print libavfilter version if it is enabled in configure

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:15:53 UTC 2013


The following commit has been merged in the experimental branch:
commit ab4b28f09d74e690ad3bd8f08cd233fc3377af30
Author: Vitor Sessak <vitor1001 at gmail.com>
Date:   Wed Feb 27 07:24:00 2008 +0000

    Print libavfilter version if it is enabled in configure
    
    Originally committed as revision 12259 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/cmdutils.c b/cmdutils.c
index 0719063..7acd61b 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -25,6 +25,7 @@
 #include <math.h>
 
 #include "avformat.h"
+#include "avfilter.h"
 #include "avdevice.h"
 #include "cmdutils.h"
 #include "avstring.h"
@@ -183,6 +184,9 @@ void show_banner(const char *program_name, int program_birth_year)
     fprintf(stderr, "  libavcodec version: " AV_STRINGIFY(LIBAVCODEC_VERSION) "\n");
     fprintf(stderr, "  libavformat version: " AV_STRINGIFY(LIBAVFORMAT_VERSION) "\n");
     fprintf(stderr, "  libavdevice version: " AV_STRINGIFY(LIBAVDEVICE_VERSION) "\n");
+#if ENABLE_AVFILTER
+    fprintf(stderr, "  libavfilter version: " AV_STRINGIFY(LIBAVFILTER_VERSION) "\n");
+#endif
     fprintf(stderr, "  built on " __DATE__ " " __TIME__);
 #ifdef __GNUC__
     fprintf(stderr, ", gcc: " __VERSION__ "\n");

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list