From 5446637e99c17e91d63f2dee54dcff40f218b080 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 3 Jul 2015 15:11:29 +0200 Subject: 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. --- common/av_log.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common') 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 -- cgit v1.2.3