summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2012-04-03 08:13:12 +0200
committerUoti Urpala <uau@mplayer2.org>2012-04-26 21:03:10 +0300
commit86790494d38c4f33f74875e1ab7a9dc1bdae1772 (patch)
tree8ce20af25b97382c5d0dea00ce0ff206f725d008 /Makefile
parent9646208cc671721fce2253a3c5d40b1961810a87 (diff)
downloadmpv-86790494d38c4f33f74875e1ab7a9dc1bdae1772.tar.bz2
mpv-86790494d38c4f33f74875e1ab7a9dc1bdae1772.tar.xz
OSX, input: implement wakeup in response to Cocoa events
Add code to wake up the select() call in input.c when an OSX event is available and a Cocoa OpenGL backend is initialized. Fixes the slow response to input or other events in Cocoa-based VOs during long select() sleeps (e.g., when mplayer2 is paused) introduced by commit 7040968.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dacff8b690..36420a881f 100644
--- a/Makefile
+++ b/Makefile
@@ -100,6 +100,7 @@ SRCS_COMMON-$(LIVE555) += libmpdemux/demux_rtp.cpp \
libmpdemux/demux_rtp_codec.cpp \
stream/stream_live555.c
SRCS_COMMON-$(MACOSX_FINDER) += osdep/macosx_finder_args.m
+SRCS_COMMON-$(COCOA) += osdep/cocoa_events.m
SRCS_COMMON-$(MNG) += libmpdemux/demux_mng.c
SRCS_COMMON-$(MPG123) += libmpcodecs/ad_mpg123.c