[MPlayer-cvslog] r25206 - trunk/libvo/vo_macosx.m
ulion
subversion at mplayerhq.hu
Fri Nov 30 00:32:08 CET 2007
Author: ulion
Date: Fri Nov 30 00:32:08 2007
New Revision: 25206
Log:
Ignore empty event.
Modified:
trunk/libvo/vo_macosx.m
Modified: trunk/libvo/vo_macosx.m
==============================================================================
--- trunk/libvo/vo_macosx.m (original)
+++ trunk/libvo/vo_macosx.m Fri Nov 30 00:32:08 2007
@@ -875,6 +875,8 @@ static int control(uint32_t request, voi
- (void) check_events
{
event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:[NSDate dateWithTimeIntervalSinceNow:0.0001] inMode:NSEventTrackingRunLoopMode dequeue:YES];
+ if (event == nil)
+ return;
[NSApp sendEvent:event];
}
More information about the MPlayer-cvslog
mailing list