]> git.sesse.net Git - vlc/blobdiff - modules/control/hotkeys.c
Added hotkey code for input "frame-next".
[vlc] / modules / control / hotkeys.c
index 81d3868aef0fa996822f84d934918c5a95ea70fe..e6c2ddb2d5d42080540ed3f6ff1cdba93020da2b 100644 (file)
@@ -699,6 +699,12 @@ static void Run( intf_thread_t *p_intf )
             {
                 playlist_Stop( p_playlist );
             }
+            else if( i_action == ACTIONID_FRAME_NEXT )
+            {
+                var_SetVoid( p_input, "frame-next" );
+                vout_OSDMessage( VLC_OBJECT(p_input), DEFAULT_CHAN,
+                                 _("Next frame") );
+            }
             else if( i_action == ACTIONID_FASTER )
             {
                 var_SetVoid( p_input, "rate-faster" );