# HG changeset patch
# User koda
# Date 1389203843 -3600
# Node ID 7a62f31895ac9bdec4fc716917a9c65daa0ad647
# Parent 23d18c0b97ac3d8702055700fc40a0a355506856
add other libav library versions
diff -r 23d18c0b97ac -r 7a62f31895ac QTfrontend/ui/widget/about.cpp
--- a/QTfrontend/ui/widget/about.cpp Wed Jan 08 20:29:34 2014 +0400
+++ b/QTfrontend/ui/widget/about.cpp Wed Jan 08 18:57:23 2014 +0100
@@ -35,7 +35,9 @@
#ifdef VIDEOREC
extern "C"
{
-#include "libavutil/avutil.h"
+ #include "libavcodec/version.h"
+ #include "libavformat/version.h"
+ #include "libavutil/avutil.h" // version.h only from 51.36.0
}
#endif
@@ -159,7 +161,15 @@
libinfo.append(QString("Qt version: %1
").arg(QT_VERSION_STR));
#ifdef VIDEOREC
- libinfo.append(QString("Libav version: %1.%2.%3
")
+ libinfo.append(QString("libavcodec version: %1.%2.%3
")
+ .arg(LIBAVCODEC_VERSION_MAJOR)
+ .arg(LIBAVCODEC_VERSION_MINOR)
+ .arg(LIBAVCODEC_VERSION_MICRO));
+ libinfo.append(QString("libavformat version: %1.%2.%3
")
+ .arg(LIBAVFORMAT_VERSION_MAJOR)
+ .arg(LIBAVFORMAT_VERSION_MINOR)
+ .arg(LIBAVFORMAT_VERSION_MICRO));
+ libinfo.append(QString("libavutil version: %1.%2.%3
")
.arg(LIBAVUTIL_VERSION_MAJOR)
.arg(LIBAVUTIL_VERSION_MINOR)
.arg(LIBAVUTIL_VERSION_MICRO));