Commit beedc2e2 authored by dionoea's avatar dionoea
Browse files

Prevent these errors when using help flag

[00000001] main libvlc error: option daemon does not exist
[00000001] main libvlc error: option pidfile does not exist

The were due to the module_EndBand( p_libvlc ); on line 430 in libvlc-common.c . Please check that this is the correct way of doing it.
parent c6276f93
......@@ -1007,6 +1007,7 @@ int libvlc_InternalDestroy( libvlc_int_t *p_libvlc, vlc_bool_t b_release )
#ifndef WIN32
char* psz_pidfile = NULL;
if( p_libvlc->p_libvlc_global->p_module_bank )
if( config_GetInt( p_libvlc, "daemon" ) )
psz_pidfile = config_GetPsz( p_libvlc, "pidfile" );
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