[MPlayer-cvslog] r31801 - trunk/libvo/vo_corevideo.m

reimar subversion at mplayerhq.hu
Sun Jul 25 13:07:16 CEST 2010


Author: reimar
Date: Sun Jul 25 13:07:15 2010
New Revision: 31801

Log:
Send KEY_CLOSE_WIN instead of KEY_ESC when the user requested
corevideo to quit, KEY_ESC might have been rebound to something else.

Modified:
   trunk/libvo/vo_corevideo.m

Modified: trunk/libvo/vo_corevideo.m
==============================================================================
--- trunk/libvo/vo_corevideo.m	Sun Jul 25 11:47:06 2010	(r31800)
+++ trunk/libvo/vo_corevideo.m	Sun Jul 25 13:07:15 2010	(r31801)
@@ -621,7 +621,7 @@ static int control(uint32_t request, voi
 {
 	if(sender == kQuitCmd)
 	{
-		mplayer_put_key(KEY_ESC);
+		mplayer_put_key(KEY_CLOSE_WIN);
 	}
 
 	if(sender == kHalfScreenCmd)
@@ -1044,6 +1044,6 @@ static int control(uint32_t request, voi
 - (void)windowWillClose:(NSNotification *)aNotification
 {
     mpGLView = NULL;
-	mplayer_put_key(KEY_ESC);
+	mplayer_put_key(KEY_CLOSE_WIN);
 }
 @end


More information about the MPlayer-cvslog mailing list