mpv/etc
wm4 9bcb9fcf26 player: make screenshot commands honor the async flag
And also change input.conf to make all screenshots async. (Except the
every-frame mode, which always uses synchronous mode and ignores the
flag.) By default, the "screenshot" command is still asynchronous,
because scripts etc. might depend on this behavior.

This is only partially async. The code for determining the filename is
still always run synchronously. Only encoding the screenshot and writing
it to disk is asynchronous. We explicitly document the exact behavior as
undefined, so it can be changed any time.

Some of this is a bit messy, because I wanted to avoid duplicating the
message display code between sync and async mode. In async mode, this is
called from a worker thread, which is not safe because showing a message
accesses the thread-unsafe OSD code. So the core has to be locked during
this, which implies accessing the core and all that. So the code has
weird locking calls, and we need to do core destruction in a more
"controlled" manner (thus the outstanding_async field).

(What I'd really want would be the OSD simply showing log messages
instead.)

This is pretty untested, so expect bugs.

Fixes #4250.
2017-04-01 20:47:23 +02:00
..
builtin.conf osx: fix key input in certain circumstances 2017-03-26 20:38:26 +02:00
encoding-profiles.conf
input.conf player: make screenshot commands honor the async flag 2017-04-01 20:47:23 +02:00
mplayer-input.conf Use - as command-name separator everywhere 2016-07-14 22:37:42 +02:00
mpv-gradient.svg
mpv-icon-8bit-16x16.png
mpv-icon-8bit-32x32.png
mpv-icon-8bit-64x64.png
mpv-icon.ico
mpv-symbolic.svg
mpv.conf manpage: remove more references to deprecated sub-option syntax 2016-09-07 12:55:21 +02:00
mpv.desktop mpv.desktop: fix some mistakes in mpv.desktop 2017-03-23 19:49:07 +01:00
mpv.svg
restore-old-bindings.conf input.conf: change "L" to change loop-file by default 2017-01-31 11:46:43 +01:00