]> git.sesse.net Git - vlc/commitdiff
* ./modules/gui/macosx/vout.m: Fixed the play/pause key shortcut.
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 20 Jan 2003 00:23:45 +0000 (00:23 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 20 Jan 2003 00:23:45 +0000 (00:23 +0000)
modules/gui/macosx/vout.m

index c028a597f9ec3a702cf7176e1a9ec2ce4fdf2545..ea2f0bf44afff99ac7af33df62076c6b6742b23a 100644 (file)
@@ -2,7 +2,7 @@
  * vout.m: MacOS X video output plugin
  *****************************************************************************
  * Copyright (C) 2001-2003 VideoLAN
- * $Id: vout.m,v 1.13 2003/01/16 13:49:44 hartman Exp $
+ * $Id: vout.m,v 1.14 2003/01/20 00:23:45 hartman Exp $
  *
  * Authors: Colin Delacroix <colin@zoy.org>
  *          Florian G. Pflug <fgp@phlo.org>
@@ -835,6 +835,10 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
             p_vout->p_vlc->b_die = VLC_TRUE;
             break;
 
+        case ' ':
+            input_SetStatus( p_vout, INPUT_STATUS_PAUSE );
+            break;
+
         default:
             [super keyDown: o_event];
             break;