summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-01 19:55:43 +0200
committerwm4 <wm4@nowhere>2015-05-01 21:51:09 +0200
commit60958ddf9b1db1101f81c3db59b8e8c980af7cf2 (patch)
tree56051b0c8dbf044542ffe51f208c99bbce4de0f3 /options
parent94a3a76ee31bdc00255dc231e99be9f9ad6f38fa (diff)
downloadmpv-60958ddf9b1db1101f81c3db59b8e8c980af7cf2.tar.bz2
mpv-60958ddf9b1db1101f81c3db59b8e8c980af7cf2.tar.xz
screenshots: add --screenshot-directory option
The plan is to use this to change the screenshot default location in pseudo-gui 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 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;