[x264-devel] commit: add date and compiler to `x264 --version` (Loren Merritt )
git version control
git at videolan.org
Sat Nov 29 12:56:40 CET 2008
x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Sat Nov 29 11:54:02 2008 +0000| [2f031b0e31b799072383792358eee376baeb2ba7] | committer: Loren Merritt
add date and compiler to `x264 --version`
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=2f031b0e31b799072383792358eee376baeb2ba7
---
x264.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/x264.c b/x264.c
index e8febc2..a1a8c94 100644
--- a/x264.c
+++ b/x264.c
@@ -513,6 +513,12 @@ static int Parse( int argc, char **argv,
#else
printf( "x264 0.%d.X\n", X264_BUILD );
#endif
+ printf( "built on " __DATE__ ", " );
+#ifdef __GNUC__
+ printf( "gcc: " __VERSION__ "\n" );
+#else
+ printf( "using a non-gcc compiler\n" );
+#endif
exit(0);
case OPT_FRAMES:
param->i_frame_total = atoi( optarg );
More information about the x264-devel
mailing list