Mercurial > mplayer.hg
changeset 31757:83423e6b288e
Simplify check_events: avoid seemingly pointless untilDate argument.
author | reimar |
---|---|
date | Sun, 25 Jul 2010 17:00:04 +0000 |
parents | 8e043273075d |
children | 0577595394f8 |
files | libvo/vo_corevideo.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_corevideo.m Sun Jul 25 14:40:58 2010 +0000 +++ b/libvo/vo_corevideo.m Sun Jul 25 17:00:04 2010 +0000 @@ -892,7 +892,7 @@ */ - (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];