summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_corevideo.h1
-rw-r--r--libvo/vo_corevideo.m1
2 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_corevideo.h b/libvo/vo_corevideo.h
index 85406661b9..2590df871c 100644
--- a/libvo/vo_corevideo.h
+++ b/libvo/vo_corevideo.h
@@ -40,7 +40,6 @@
{
//Cocoa
NSWindow *window;
- NSEvent *event;
//CoreVideo
CVPixelBufferRef frameBuffers[2];
diff --git a/libvo/vo_corevideo.m b/libvo/vo_corevideo.m
index a135d03723..2a0f0ef7d2 100644
--- a/libvo/vo_corevideo.m
+++ b/libvo/vo_corevideo.m
@@ -878,6 +878,7 @@ static int control(uint32_t request, void *data)
*/
- (void) check_events
{
+ NSEvent *event;
int curTime = TickCount()/60;
//automatically hide mouse cursor (and future on-screen control?)