summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRudolf Polzer <divverent@xonotic.org>2012-12-19 12:58:52 +0100
committerRudolf Polzer <divverent@xonotic.org>2012-12-19 12:58:52 +0100
commit7d0a20954f4ad642901a65fcb39ab601032ddcea (patch)
tree5699e70be76ec3f5ba2cc49faed378a3034601a7 /configure
parent51c98619c8d039b4cf459910a3a934637cb69e05 (diff)
downloadmpv-7d0a20954f4ad642901a65fcb39ab601032ddcea.tar.bz2
mpv-7d0a20954f4ad642901a65fcb39ab601032ddcea.tar.xz
core: make WAKEUP_PERIOD overridable by the vo
This is better than having just the operating system type decide the wakeup period, as e.g. when compiling for Win32/cygwin, a wakeup period of 0.5 would work perfectly fine. Instead, the default wakeup period is now only decided by availability of a working select() system call (which is the case on cygwin but not mingw and MSVC) AND a vo that can provide an event file descriptor or a similar hack (vo_corevideo). vos that cannot do either need polling for event handling and now can set the wakeup period to 0.02 in the vo code.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions