- {
- libvlc_add_intf (vlc, "signals", &ex);
- if (libvlc_exception_raised (&ex))
- {
- libvlc_exception_clear (&ex);
- 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);
-
- if (libvlc_exception_raised (&ex))
- fprintf( stderr, "%s\n", libvlc_errmsg() );