From 39f4fd0dc7e025af5c653e43dc05e71455d99570 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 5 Oct 2020 00:16:46 +0200 Subject: screenshot: add --screenshot-sw option Probably worthless. As usual, the manpage dumps all the subtle differences due to implementation details on the user. --- options/options.c | 1 + options/options.h | 1 + 2 files changed, 2 insertions(+) (limited to 'options') diff --git a/options/options.c b/options/options.c index a4d3d3250d..c297200a45 100644 --- a/options/options.c +++ b/options/options.c @@ -752,6 +752,7 @@ static const m_option_t mp_opts[] = { {"screenshot-template", OPT_STRING(screenshot_template)}, {"screenshot-directory", OPT_STRING(screenshot_directory), .flags = M_OPT_FILE}, + {"screenshot-sw", OPT_BOOL(screenshot_sw)}, {"record-file", OPT_STRING(record_file), .flags = M_OPT_FILE, .deprecation_message = "use --stream-record or the dump-cache command"}, diff --git a/options/options.h b/options/options.h index 606bc6c8a2..b865ff8896 100644 --- a/options/options.h +++ b/options/options.h @@ -276,6 +276,7 @@ typedef struct MPOpts { struct image_writer_opts *screenshot_image_opts; char *screenshot_template; char *screenshot_directory; + bool screenshot_sw; int index_mode; -- cgit v1.2.3