aboutsummaryrefslogtreecommitdiffhomepage
path: root/common/av_log.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2015-07-03 15:11:29 +0200
committerGravatar wm4 <wm4@nowhere>2015-07-03 15:11:29 +0200
commit5446637e99c17e91d63f2dee54dcff40f218b080 (patch)
tree770cfe269b2358b13c7d8e3906e7551c465b884b /common/av_log.c
parenta609877f00889a5cb5fe3e4e2877eec49cc90ab0 (diff)
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 'common/av_log.c')
-rw-r--r--common/av_log.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/av_log.c b/common/av_log.c
index 5ae8f13263..48e1c07144 100644
--- a/common/av_log.c
+++ b/common/av_log.c
@@ -239,6 +239,10 @@ void print_libav_versions(struct mp_log *log, int v)
"expose subtle ABI compatibility issues\nand can lead to "
"misbehavior and crashes.\n", LIB_PREFIX);
}
+
+#if HAVE_AV_VERSION_INFO
+ mp_msg(log, v, "%s version: %s\n", LIB_PREFIX, av_version_info());
+#endif
}
#undef V