From 4f84d91df2ad28f0418aae87362bc1af3d6dba50 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 12 Dec 2022 21:37:34 +0100 Subject: vo_gpu_next: be explicit about screenshot repr Screenshots are currently always RGB. Subject to change, but needs to be communicated clearly if changed. This commit is not a functional change, it's merely for code clarity. --- video/out/vo_gpu_next.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video') diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index 78c7a4c445..ed9aec8b2e 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -1217,6 +1217,7 @@ static void video_screenshot(struct vo *vo, struct voctrl_screenshot *args) } struct pl_frame target = { + .repr = pl_color_repr_rgb, .num_planes = 1, .planes[0] = { .texture = fbo, -- cgit v1.2.3