summaryrefslogtreecommitdiffstats
path: root/TOOLS/old-configure
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-03 15:11:29 +0200
committerwm4 <wm4@nowhere>2015-07-03 15:11:29 +0200
commit5446637e99c17e91d63f2dee54dcff40f218b080 (patch)
tree770cfe269b2358b13c7d8e3906e7551c465b884b /TOOLS/old-configure
parenta609877f00889a5cb5fe3e4e2877eec49cc90ab0 (diff)
downloadmpv-5446637e99c17e91d63f2dee54dcff40f218b080.tar.bz2
mpv-5446637e99c17e91d63f2dee54dcff40f218b080.tar.xz
av_log: print FFmpeg version
The individual library versionsd are pretty useless. This will actually tell us at least the git hash or git tag of the FFmpeg build.
Diffstat (limited to 'TOOLS/old-configure')
-rwxr-xr-xTOOLS/old-configure6
1 files changed, 6 insertions, 0 deletions
diff --git a/TOOLS/old-configure b/TOOLS/old-configure
index d4bb13ee66..4d4539d0c7 100755
--- a/TOOLS/old-configure
+++ b/TOOLS/old-configure
@@ -786,6 +786,12 @@ api_statement_check \
libavutil/frame.h \
'enum AVFrameSideDataType type = AV_FRAME_DATA_SKIP_SAMPLES'
+api_statement_check \
+ "libavutil av_version_info()" \
+ HAVE_AV_VERSION_INFO \
+ libavutil/avutil.h \
+ 'const char *x = av_version_info()'
+
check_pkg_config "libavfilter" $_libavfilter LIBAVFILTER 'libavfilter >= 5.0.0'
check_pkg_config "libavdevice" $_libavdevice LIBAVDEVICE 'libavdevice >= 55.0.0'