screenshots: add --screenshot-directory option

The plan is to use this to change the screenshot default location in
pseudo-gui mode.
This commit is contained in:
wm4
2015-05-01 19:55:43 +02:00
parent 94a3a76ee3
commit 60958ddf9b
4 changed files with 21 additions and 0 deletions

View File

@@ -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),

View File

@@ -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;