Commit 18616970 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Avoid late extra error message if globalhoykeys fail (fixes: #3034)

parent f59b8d8a
......@@ -158,6 +158,7 @@ int main( int i_argc, const char *ppsz_argv[] )
pthread_sigmask (SIG_UNBLOCK, &set, NULL);
}
libvlc_add_intf (vlc, "globalhotkeys,none", &ex);
libvlc_exception_clear (&ex);
libvlc_add_intf (vlc, NULL, &ex);
libvlc_playlist_play (vlc, -1, 0, NULL, &dummy);
libvlc_wait (vlc);
......
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