diff options
Diffstat (limited to 'screenshot.c')
-rw-r--r-- | screenshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/screenshot.c b/screenshot.c index 3fe2bf4866..5844f00ab6 100644 --- a/screenshot.c +++ b/screenshot.c @@ -106,7 +106,7 @@ static int write_png(screenshot_ctx *ctx, struct mp_image *image) avctx->width = image->width; avctx->height = image->height; avctx->pix_fmt = PIX_FMT_RGB24; - avctx->compression_level = 0; + avctx->compression_level = ctx->mpctx->opts.screenshot_png_compression; size_t outbuffer_size = image->width * image->height * 3 * 2; outbuffer = malloc(outbuffer_size); |