mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
@@ -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),
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user