mirror of
https://github.com/mpv-player/mpv
synced 2025-01-04 14:12:10 +00:00
screenshots: change default directory in pseudo-gui mode to desktop
This should take care of the endless complaints about the default location for screenshots (and will of course create new ones). If the screenshot-template is set to an absolute path, the directory won't be used. So this should be reasonably compatible.
This commit is contained in:
parent
72373bb5ae
commit
756991bd4f
@ -648,6 +648,7 @@ the ``pseudo-gui`` profile being predefined with the following contents:
|
||||
terminal=no
|
||||
force-window=yes
|
||||
idle=once
|
||||
screenshot-directory=~desktop/
|
||||
|
||||
This follows the mpv config file format. To customize pseudo-GUI mode, you can
|
||||
put your own ``pseudo-gui`` profile into your ``mpv.conf``. This profile will
|
||||
|
@ -2665,7 +2665,8 @@ Screenshot
|
||||
generated.
|
||||
|
||||
This option is not set by default, and thus will write screenshots to the
|
||||
directory from which mpv was started.
|
||||
directory from which mpv was started. In pseudio-gui mode
|
||||
(see `PSEUDO GUI MODE`_), this is set to the desktop.
|
||||
|
||||
``--screenshot-jpeg-quality=<0-100>``
|
||||
Set the JPEG quality level. Higher means better quality. The default is 90.
|
||||
|
@ -102,7 +102,8 @@ static const char def_config[] =
|
||||
"[pseudo-gui]\n"
|
||||
"terminal=no\n"
|
||||
"force-window=yes\n"
|
||||
"idle=once\n";
|
||||
"idle=once\n"
|
||||
"screenshot-directory=~desktop/\n";
|
||||
|
||||
static pthread_mutex_t terminal_owner_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
static struct MPContext *terminal_owner;
|
||||
|
Loading…
Reference in New Issue
Block a user