diff options
author | wm4 <wm4@mplayer2.org> | 2011-10-06 20:46:02 +0200 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-01-18 04:45:22 +0100 |
commit | 09cdd1406d5abe60bce57c7c2c3e71abe4330053 (patch) | |
tree | 0558584d4414c2ac44ae720c46fb33d2ec010019 /cfg-mplayer.h | |
parent | fee4d3b473deeb7b77d868ad2d78fc61446fe364 (diff) | |
download | mpv-09cdd1406d5abe60bce57c7c2c3e71abe4330053.tar.bz2 mpv-09cdd1406d5abe60bce57c7c2c3e71abe4330053.tar.xz |
screenshot: add jpg support
The screenshot image file type can now be selected with the
--screenshot-filetype option. The --screenshot-jpeg-quality option
controls the compression setting of the written JPEG image file.
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index a790b52fdc..93ffe727c5 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -932,6 +932,9 @@ const m_option_t mplayer_opts[]={ {"tvscan", "MPlayer was compiled without TV interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, #endif /* CONFIG_TV */ + OPT_INTRANGE("screenshot-jpeg-quality", screenshot_jpeg_quality, 0, 0, 100), + OPT_STRING("screenshot-filetype", screenshot_filetype, 0), + OPT_FLAG_ON("list-properties", list_properties, CONF_GLOBAL), {"identify", &mp_msg_levels[MSGT_IDENTIFY], CONF_TYPE_FLAG, CONF_GLOBAL, 0, MSGL_V, NULL}, {"help", (void *) help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, |