From 39f4fd0dc7e025af5c653e43dc05e71455d99570 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 5 Oct 2020 00:16:46 +0200 Subject: screenshot: add --screenshot-sw option Probably worthless. As usual, the manpage dumps all the subtle differences due to implementation details on the user. --- player/screenshot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'player/screenshot.c') diff --git a/player/screenshot.c b/player/screenshot.c index e731e02e21..f0af132efb 100644 --- a/player/screenshot.c +++ b/player/screenshot.c @@ -346,7 +346,8 @@ static struct mp_image *screenshot_get(struct MPContext *mpctx, int mode, .high_bit_depth = high_depth && mpctx->opts->screenshot_image_opts->high_bit_depth, }; - vo_control(mpctx->video_out, VOCTRL_SCREENSHOT, &ctrl); + if (!mpctx->opts->screenshot_sw) + vo_control(mpctx->video_out, VOCTRL_SCREENSHOT, &ctrl); image = ctrl.res; if (image) need_add_subs = false; -- cgit v1.2.3