]> git.sesse.net Git - vlc/blobdiff - modules/control/hotkeys.c
Thread-safe and more compact hotkeys initialization
[vlc] / modules / control / hotkeys.c
index 99b5b75027db50a6420e8f32eab581fe375ecd62..13db7f293d35e7ab962b1263c097a40a6d2f6d1a 100644 (file)
@@ -169,14 +169,6 @@ static void Run( intf_thread_t *p_intf )
 
     vlc_cleanup_push( __pl_Release, p_intf );
 
-    /* Initialize hotkey structure */
-    for( struct hotkey *p_hotkey = p_intf->p_libvlc->p_hotkeys;
-         p_hotkey->psz_action != NULL;
-         p_hotkey++ )
-    {
-        p_hotkey->i_key = config_GetInt( p_intf, p_hotkey->psz_action );
-    }
-
     for( ;; )
     {
         input_thread_t *p_input;