[vlc-devel] commit: Be more verbose about the failure if we return a non-null exit code ( Christophe Mutricy )
git version control
git at videolan.org
Sun Jun 1 01:40:54 CEST 2008
vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Sun Jun 1 00:42:33 2008 +0100| [952d118d97d168123b947cf8edcbc3a0360f0d9b]
Be more verbose about the failure if we return a non-null exit code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=952d118d97d168123b947cf8edcbc3a0360f0d9b
---
src/vlc.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/vlc.c b/src/vlc.c
index 45a6034..12833b7 100644
--- a/src/vlc.c
+++ b/src/vlc.c
@@ -131,6 +131,9 @@ int main( int i_argc, const char *ppsz_argv[] )
libvlc_release (vlc);
}
i_ret = libvlc_exception_raised (&ex);
+ if( i_ret )
+ fprintf( stderr, "%s\n", libvlc_exception_get_message( &ex));
+
libvlc_exception_clear (&ex);
for (int i = 0; i < i_argc; i++)
More information about the vlc-devel
mailing list