[x264-devel] [Git][videolan/x264][master] cli: Add info about gpac/lsmash into version info

Anton Mitrofanov gitlab at videolan.org
Tue Jul 14 15:44:46 CEST 2020



Anton Mitrofanov pushed to branch master at VideoLAN / x264


Commits:
45e2f899 by Anton Mitrofanov at 2020-07-14T15:35:32+02:00
cli: Add info about gpac/lsmash into version info

- - - - -


1 changed file:

- x264.c


Changes:

=====================================
x264.c
=====================================
@@ -65,6 +65,14 @@
 #include <ffms.h>
 #endif
 
+#if HAVE_GPAC
+#include <gpac/version.h>
+#endif
+
+#if HAVE_LSMASH
+#include <lsmash.h>
+#endif
+
 #ifdef _WIN32
 #define CONSOLE_TITLE_SIZE 200
 static wchar_t org_console_title[CONSOLE_TITLE_SIZE] = L"";
@@ -344,10 +352,18 @@ static void print_version_info( void )
 #endif
 #if HAVE_FFMS
     printf( "(ffmpegsource %d.%d.%d.%d)\n", FFMS_VERSION >> 24, (FFMS_VERSION & 0xff0000) >> 16, (FFMS_VERSION & 0xff00) >> 8, FFMS_VERSION & 0xff );
+#endif
+#if HAVE_GPAC
+    printf( "(gpac " GPAC_FULL_VERSION ")\n" );
+#endif
+#if HAVE_LSMASH
+    printf( "(lsmash %d.%d.%d)\n", LSMASH_VERSION_MAJOR, LSMASH_VERSION_MINOR, LSMASH_VERSION_MICRO );
 #endif
     printf( "built on " __DATE__ ", " );
 #ifdef __INTEL_COMPILER
     printf( "intel: %.2f (%d)\n", __INTEL_COMPILER / 100.f, __INTEL_COMPILER_BUILD_DATE );
+#elif defined(__clang__)
+    printf( "clang: " __clang_version__ "\n" );
 #elif defined(__GNUC__)
     printf( "gcc: " __VERSION__ "\n" );
 #elif defined(_MSC_FULL_VER)



View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/45e2f8997b6a9a3fe6352c5909158e5d84bdbd2f

-- 
View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/45e2f8997b6a9a3fe6352c5909158e5d84bdbd2f
You're receiving this email because of your account on code.videolan.org.




More information about the x264-devel mailing list