Commit 952d118d authored by Christophe Mutricy's avatar Christophe Mutricy

Be more verbose about the failure if we return a non-null exit code

parent ff90a8aa
...@@ -131,6 +131,9 @@ int main( int i_argc, const char *ppsz_argv[] ) ...@@ -131,6 +131,9 @@ int main( int i_argc, const char *ppsz_argv[] )
libvlc_release (vlc); libvlc_release (vlc);
} }
i_ret = libvlc_exception_raised (&ex); i_ret = libvlc_exception_raised (&ex);
if( i_ret )
fprintf( stderr, "%s\n", libvlc_exception_get_message( &ex));
libvlc_exception_clear (&ex); libvlc_exception_clear (&ex);
for (int i = 0; i < i_argc; i++) for (int i = 0; i < i_argc; i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment