From 316658ad4883230b4fe362f9edaa1e3b3ad80197 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 6 Oct 2011 20:46:02 +0200 Subject: 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. --- defaultopts.c | 1 + 1 file changed, 1 insertion(+) (limited to 'defaultopts.c') diff --git a/defaultopts.c b/defaultopts.c index 5a2df5734f..86e3908614 100644 --- a/defaultopts.c +++ b/defaultopts.c @@ -39,6 +39,7 @@ void set_default_mplayer_options(struct MPOpts *opts) .sub_id = -1, .extension_parsing = 1, .screenshot_jpeg_quality = 85, + .screenshot_png_compression = 7, .audio_output_channels = 2, .audio_output_format = -1, // AF_FORMAT_UNKNOWN .playback_speed = 1., -- cgit v1.2.3