Maemo: globalhotkeys wouldn't make much sense
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 19 Oct 2009 19:34:57 +0000 (22:34 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 19 Oct 2009 19:34:57 +0000 (22:34 +0300)
bin/vlc.c

index a80a918..3dc0fe4 100644 (file)
--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -154,7 +154,9 @@ int main( int i_argc, const char *ppsz_argv[] )
             libvlc_exception_clear (&ex);
             pthread_sigmask (SIG_UNBLOCK, &set, NULL);
         }
             libvlc_exception_clear (&ex);
             pthread_sigmask (SIG_UNBLOCK, &set, NULL);
         }
+#if !defined (HAVE_MAEMO)
         libvlc_add_intf (vlc, "globalhotkeys,none", &ex);
         libvlc_add_intf (vlc, "globalhotkeys,none", &ex);
+#endif
         libvlc_exception_clear (&ex);
         libvlc_add_intf (vlc, NULL, &ex);
         libvlc_playlist_play (vlc, -1, 0, NULL, &dummy);
         libvlc_exception_clear (&ex);
         libvlc_add_intf (vlc, NULL, &ex);
         libvlc_playlist_play (vlc, -1, 0, NULL, &dummy);