summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c1
-rw-r--r--options/options.h1
2 files changed, 2 insertions, 0 deletions
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;