diff options
author | wm4 <wm4@mplayer2.org> | 2011-10-06 20:46:02 +0200 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-01-18 04:45:27 +0100 |
commit | 316658ad4883230b4fe362f9edaa1e3b3ad80197 (patch) | |
tree | 0bcb0429d0cd2e5191ed1c6e010036e487619c70 /cfg-mplayer.h | |
parent | 09cdd1406d5abe60bce57c7c2c3e71abe4330053 (diff) | |
download | mpv-316658ad4883230b4fe362f9edaa1e3b3ad80197.tar.bz2 mpv-316658ad4883230b4fe362f9edaa1e3b3ad80197.tar.xz |
screenshot: add png compression setting
The default compression setting is 7, which is hopefully a good balance
between speed of compression, and resulting file sizes. The maximum png
compression will be very slow even on fast computers. On the other hand,
the lowest compression setting produces files of several MB size with
normal video resolutions, which should be avoided as well.
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 93ffe727c5..d5d711f6bb 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -933,6 +933,7 @@ const m_option_t mplayer_opts[]={ #endif /* CONFIG_TV */ OPT_INTRANGE("screenshot-jpeg-quality", screenshot_jpeg_quality, 0, 0, 100), + OPT_INTRANGE("screenshot-png-compression", screenshot_png_compression, 0, 0, 9), OPT_STRING("screenshot-filetype", screenshot_filetype, 0), OPT_FLAG_ON("list-properties", list_properties, CONF_GLOBAL), |