]> git.sesse.net Git - vlc/blobdiff - bin/vlc.c
Only load globalhotkeys if requested by caller
[vlc] / bin / vlc.c
index 3a15722d77e4f8094a75c27784026f8e1c368721..55f7c5f70fe1a9bf403ab3f3d14a6c4a346d8987 100644 (file)
--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -151,6 +151,7 @@ int main( int i_argc, const char *ppsz_argv[] )
             libvlc_exception_clear (&ex);
             pthread_sigmask (SIG_UNBLOCK, &set, NULL);
         }
+        libvlc_add_intf (vlc, "globalhotkeys,none", &ex);
         libvlc_add_intf (vlc, NULL, &ex);
         libvlc_playlist_play (vlc, -1, 0, NULL, &dummy);
         libvlc_wait (vlc);