summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/player/command.c b/player/command.c
index 7d2109be7f..10c58e86d8 100644
--- a/player/command.c
+++ b/player/command.c
@@ -6013,13 +6013,17 @@ const struct mp_cmd_def mp_cmds[] = {
// backwards compatibility
OARG_CHOICE(0, ({"unused", 0}, {"single", 0},
{"each-frame", 8})),
- }},
+ },
+ .spawn_thread = true,
+ },
{ "screenshot-to-file", cmd_screenshot_to_file, {
ARG_STRING,
OARG_CHOICE(2, ({"video", 0},
{"window", 1},
{"subtitles", 2})),
- }},
+ },
+ .spawn_thread = true,
+ },
{ "screenshot-raw", cmd_screenshot_raw, {
OARG_CHOICE(2, ({"video", 0},
{"window", 1},