summaryrefslogtreecommitdiffstats
path: root/player/screenshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/screenshot.c')
-rw-r--r--player/screenshot.c3
1 files changed, 2 insertions, 1 deletions
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;