diff options
author | wm4 <wm4@nowhere> | 2019-10-31 15:44:09 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-10-31 15:44:09 +0100 |
commit | 2c43d2b75a88b8e0e8f0a715f993ffc1c8977d13 (patch) | |
tree | c32e05a5cb48910cbd3ae0f1020f18fcb0adf8b3 /video/out/vo_image.c | |
parent | 835586513d026bcf1e7dec4693e07c28dda8cedd (diff) | |
download | mpv-2c43d2b75a88b8e0e8f0a715f993ffc1c8977d13.tar.bz2 mpv-2c43d2b75a88b8e0e8f0a715f993ffc1c8977d13.tar.xz |
screenshot, vo_image: use global swscale/zimg parameters
Lots of dumb crap to do... something. Instead of adding yet another dumb
helper, just use the main" sws_utils API in both callers. (Which,
unfortunately, has been duplicated for glorious webp screenshots,
despite the fact that webp is crap.)
Good part: can enable zimg for screenshots (as far as needed).
Bad part: uses "default" swscale parameters instead of HQ now.
Diffstat (limited to 'video/out/vo_image.c')
-rw-r--r-- | video/out/vo_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_image.c b/video/out/vo_image.c index 9d30d5b6d2..2a3b8fae87 100644 --- a/video/out/vo_image.c +++ b/video/out/vo_image.c @@ -120,7 +120,7 @@ static void flip_page(struct vo *vo) filename = mp_path_join(t, p->opts->outdir, filename); MP_INFO(vo, "Saving %s\n", filename); - write_image(p->current, p->opts->opts, filename, vo->log); + write_image(p->current, p->opts->opts, filename, vo->global, vo->log); talloc_free(t); mp_image_unrefp(&p->current); |