summaryrefslogtreecommitdiffstats
path: root/defaultopts.c
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2011-10-06 20:46:02 +0200
committerwm4 <wm4@mplayer2.org>2012-01-18 04:45:22 +0100
commit09cdd1406d5abe60bce57c7c2c3e71abe4330053 (patch)
tree0558584d4414c2ac44ae720c46fb33d2ec010019 /defaultopts.c
parentfee4d3b473deeb7b77d868ad2d78fc61446fe364 (diff)
downloadmpv-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 'defaultopts.c')
-rw-r--r--defaultopts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/defaultopts.c b/defaultopts.c
index 16b4b808b9..5a2df5734f 100644
--- a/defaultopts.c
+++ b/defaultopts.c
@@ -38,6 +38,7 @@ void set_default_mplayer_options(struct MPOpts *opts)
.video_id = -1,
.sub_id = -1,
.extension_parsing = 1,
+ .screenshot_jpeg_quality = 85,
.audio_output_channels = 2,
.audio_output_format = -1, // AF_FORMAT_UNKNOWN
.playback_speed = 1.,