mpv/player
wm4 dc00b146c4 player: remove the last instances of polling
Mouse cursor handling, --heartbeat-cmd, and OSD messages basically
relied on polling. For this reason, the playloop always used a small
timeout (not more than 500ms).

Fix these cases, and raise the timeout to 100 seconds. There is no
reason behind this number; for this specific purpose it's as close to
infinity as any other number.

On MS Windows, or if vo_sdl is used, the timeout remains very small.
In these cases the GUI code doesn't do proper event handling in the
first place, and fixing it requires much more effort.

getch2_poll() still does polling, because as far as I'm aware no event-
based way to detect this state change exists.
2014-07-18 15:04:46 +02:00
..
lua osc: improve previous commit 2014-07-10 11:22:05 +02:00
timeline demux: make start time a simple field 2014-07-05 17:07:15 +02:00
audio.c ao_lavc: Fix design of audio pts handling. 2014-07-16 16:18:34 +02:00
client.c client API: allow calling mpv_terminate_destroy(NULL) 2014-07-04 02:24:49 +02:00
client.h Add more const 2014-06-11 00:39:14 +02:00
command.c demux: add a demuxer thread 2014-07-16 23:25:56 +02:00
command.h command: redo the property type 2014-06-13 02:11:39 +02:00
configfiles.c Revert "Remove DVD and Bluray support" 2014-07-15 01:49:02 +02:00
core.h player: remove the last instances of polling 2014-07-18 15:04:46 +02:00
discnav.c demux: add a demuxer thread 2014-07-16 23:25:56 +02:00
loadfile.c demux: add a demuxer thread 2014-07-16 23:25:56 +02:00
lua.c build: include <strings.h> for strcasecmp() 2014-07-10 08:29:32 +02:00
main.c Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
main_fn.c build: add option to build a library 2014-02-10 21:25:22 +01:00
misc.c demux: add a demuxer thread 2014-07-16 23:25:56 +02:00
osd.c player: remove the last instances of polling 2014-07-18 15:04:46 +02:00
playloop.c player: remove the last instances of polling 2014-07-18 15:04:46 +02:00
screenshot.c player: make the time display relative to start PTS 2014-06-29 20:39:49 +02:00
screenshot.h
scripting.c build: include <strings.h> for strcasecmp() 2014-07-10 08:29:32 +02:00
sub.c dvd, bluray, cdda: add demux_disc containing all related hacks 2014-07-05 17:07:15 +02:00
video.c dvd, bluray, cdda: add demux_disc containing all related hacks 2014-07-05 17:07:15 +02:00