From 60958ddf9b1db1101f81c3db59b8e8c980af7cf2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 May 2015 19:55:43 +0200 Subject: screenshots: add --screenshot-directory option The plan is to use this to change the screenshot default location in pseudo-gui mode. --- 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 f59f1356c0..5965ae1692 100644 --- a/options/options.c +++ b/options/options.c @@ -543,6 +543,7 @@ const m_option_t mp_opts[] = { OPT_SUBSTRUCT("screenshot", screenshot_image_opts, image_writer_conf, 0), OPT_STRING("screenshot-template", screenshot_template, 0), + OPT_STRING("screenshot-directory", screenshot_direcrory, 0), OPT_SUBSTRUCT("input", input_opts, input_config, 0), diff --git a/options/options.h b/options/options.h index ced518453f..c3b4831fa6 100644 --- a/options/options.h +++ b/options/options.h @@ -206,6 +206,7 @@ typedef struct MPOpts { struct image_writer_opts *screenshot_image_opts; char *screenshot_template; + char *screenshot_direcrory; double force_fps; int index_mode; -- cgit v1.2.3