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

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

(cherry picked from commit 18616970)
parent c15ac84c
......@@ -152,6 +152,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