]> git.sesse.net Git - vlc/blobdiff - modules/control/hotkeys.c
Kill stupid VOUT_SNAPSHOT control.
[vlc] / modules / control / hotkeys.c
index b4e52711ad1b329b4be3a5bcf2b644986de69804..74cf5a19e4767751ae921cd96cba26707e9ffe2b 100644 (file)
@@ -244,7 +244,7 @@ static void Run( intf_thread_t *p_intf )
         /* Video Output actions */
         else if( i_action == ACTIONID_SNAPSHOT )
         {
-            if( p_vout ) vout_Control( p_vout, VOUT_SNAPSHOT );
+            if( p_vout ) var_TriggerCallback( p_vout, "video-snapshot" );
         }
         else if( i_action == ACTIONID_TOGGLE_FULLSCREEN )
         {