Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
3048882f
Commit
3048882f
authored
Mar 13, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print exact revision in addition to version number on console
parent
0db7b288
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
bin/vlc.c
bin/vlc.c
+2
-1
src/libvlc.c
src/libvlc.c
+3
-2
No files found.
bin/vlc.c
View file @
3048882f
...
...
@@ -74,7 +74,8 @@ int main( int i_argc, const char *ppsz_argv[] )
#ifndef __APPLE__
/* This clutters OSX GUI error logs */
fprintf
(
stderr
,
"VLC media player %s
\n
"
,
libvlc_get_version
()
);
fprintf
(
stderr
,
"VLC media player %s (revision %s)
\n
"
,
libvlc_get_version
(),
libvlc_get_changeset
()
);
#endif
#ifdef HAVE_PUTENV
...
...
src/libvlc.c
View file @
3048882f
...
...
@@ -217,6 +217,7 @@ static void PauseConsole ( void );
static
int
ConsoleWidth
(
void
);
static
vlc_mutex_t
global_lock
=
VLC_STATIC_MUTEX
;
extern
const
char
psz_vlc_changeset
[];
/**
* Allocate a libvlc instance, initialize global data if needed
...
...
@@ -330,7 +331,8 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
/* Announce who we are - Do it only for first instance ? */
msg_Dbg
(
p_libvlc
,
"VLC media player - %s"
,
VERSION_MESSAGE
);
msg_Dbg
(
p_libvlc
,
"%s"
,
COPYRIGHT_MESSAGE
);
msg_Dbg
(
p_libvlc
,
"libvlc was configured with %s"
,
CONFIGURE_LINE
);
msg_Dbg
(
p_libvlc
,
"revision %s"
,
psz_vlc_changeset
);
msg_Dbg
(
p_libvlc
,
"configured with %s"
,
CONFIGURE_LINE
);
/*xgettext: Translate "C" to the language code: "fr", "en_GB", "nl", "ru"... */
msg_Dbg
(
p_libvlc
,
"translation test: code is
\"
%s
\"
"
,
_
(
"C"
)
);
...
...
@@ -1902,7 +1904,6 @@ 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment