1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 18:12:22 +00:00
mpv/etc
wm4 a4321cf687 screenshot: change async behavior to be in line with new semantics
Basically reimplement the async behavior on top of the async command
code. With this, all screenshot commands are async, and the "async"
prefix basically does nothing. The prefix now behaves exactly like with
other commands that use spawn_thread.

This also means using the prefix in the preset input.conf is pointless
(without effect) and misleading, so remove that.

The each_frame mode was actually particularly painful in making this
change, since the player wants to block for it when writing a
screenshot, and generally doesn't fit into the new infrastructure. It
was still relatively easy to reimplement by copying the original command
and then repeating it on each frame. The waiting is reentrant now, so
move the call in video.c to a "safer" spot.

One way to observe how the new semantics interact with everything is
using the mpv repl script and sending a screenshot command through it.
Without async flag, the script will freeze while writing the screenshot
(while playback continues), while with async flag it continues.
2018-05-24 19:56:34 +02:00
..
builtin.conf video: add option to reduce latency by 1 or 2 frames 2018-03-03 02:38:01 +02:00
encoding-profiles.conf encode: remove removed encode options from presets 2018-05-03 01:09:46 +03:00
input.conf screenshot: change async behavior to be in line with new semantics 2018-05-24 19:56:34 +02:00
mplayer-input.conf Use - as command-name separator everywhere 2016-07-14 22:37:42 +02:00
mpv-gradient.svg SVG version of the icon (with symbolic counterpart) 2015-10-30 20:29:55 +01:00
mpv-icon-8bit-16x16.png x11: add window icon 2013-09-01 23:27:33 +02:00
mpv-icon-8bit-32x32.png x11: add window icon 2013-09-01 23:27:33 +02:00
mpv-icon-8bit-64x64.png x11: add window icon 2013-09-01 23:27:33 +02:00
mpv-icon-8bit-128x128.png x11: add 128x128 sized icon support 2017-07-02 13:07:36 +02:00
mpv-icon.ico change application icon 2013-09-01 12:24:53 +02:00
mpv-symbolic.svg SVG version of the icon (with symbolic counterpart) 2015-10-30 20:29:55 +01:00
mpv.conf vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
mpv.desktop mpv.desktop: fix French translation consistency 2018-03-18 23:01:53 +00:00
mpv.svg SVG version of the icon (with symbolic counterpart) 2015-10-30 20:29:55 +01:00
restore-old-bindings.conf restore-old-bindings.conf: add old macOS/Wayland AXIS bindings 2017-10-16 22:51:12 +11:00