]> git.sesse.net Git - vlc/commitdiff
Print the changeset with --version
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 3 Jun 2009 19:21:53 +0000 (22:21 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 3 Jun 2009 19:21:53 +0000 (22:21 +0300)
src/libvlc.c

index 519efa1ede4360db70536374148931682500592b..78a8716c0faad2e0629fb81e55d4061e48b2042c 100644 (file)
@@ -1946,11 +1946,13 @@ static void ListModules( libvlc_int_t *p_this, bool b_verbose )
  *****************************************************************************/
 static void Version( void )
 {
+    extern const char psz_vlc_changeset[];
 #ifdef WIN32
     ShowConsole( true );
 #endif
 
-    utf8_fprintf( stdout, _("VLC version %s\n"), VLC_Version() );
+    utf8_fprintf( stdout, _("VLC version %s (%s)\n"), VLC_Version(),
+                  psz_vlc_changeset );
     utf8_fprintf( stdout, _("Compiled by %s@%s.%s\n"),
              VLC_CompileBy(), VLC_CompileHost(), VLC_CompileDomain() );
     utf8_fprintf( stdout, _("Compiler: %s\n"), VLC_Compiler() );