# HG changeset patch # User reimar # Date 1280056035 0 # Node ID 3bb00f5abe8e6459535bf7ea564f10cbc5af7fc7 # Parent 34d5db2f24ba78ab9bfc801da50d86333ed4aca5 Send KEY_CLOSE_WIN instead of KEY_ESC when the user requested corevideo to quit, KEY_ESC might have been rebound to something else. diff -r 34d5db2f24ba -r 3bb00f5abe8e libvo/vo_corevideo.m --- a/libvo/vo_corevideo.m Sun Jul 25 09:47:06 2010 +0000 +++ b/libvo/vo_corevideo.m Sun Jul 25 11:07:15 2010 +0000 @@ -621,7 +621,7 @@ { if(sender == kQuitCmd) { - mplayer_put_key(KEY_ESC); + mplayer_put_key(KEY_CLOSE_WIN); } if(sender == kHalfScreenCmd) @@ -1044,6 +1044,6 @@ - (void)windowWillClose:(NSNotification *)aNotification { mpGLView = NULL; - mplayer_put_key(KEY_ESC); + mplayer_put_key(KEY_CLOSE_WIN); } @end