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

reimar subversion at mplayerhq.hu
Sun Jul 25 19:00:04 CEST 2010


Author: reimar
Date: Sun Jul 25 19:00:04 2010
New Revision: 31823

Log:
Simplify check_events: avoid seemingly pointless untilDate argument.

Modified:
   trunk/libvo/vo_corevideo.m

Modified: trunk/libvo/vo_corevideo.m
==============================================================================
--- trunk/libvo/vo_corevideo.m	Sun Jul 25 16:40:58 2010	(r31822)
+++ trunk/libvo/vo_corevideo.m	Sun Jul 25 19:00:04 2010	(r31823)
@@ -892,7 +892,7 @@ static int control(uint32_t request, voi
 */
 - (void) check_events
 {
-	event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:[NSDate dateWithTimeIntervalSinceNow:0.0001] inMode:NSEventTrackingRunLoopMode dequeue:YES];
+	event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil inMode:NSEventTrackingRunLoopMode dequeue:YES];
 	if (event == nil)
 		return;
 	[NSApp sendEvent:event];


More information about the MPlayer-cvslog mailing list