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.
This commit is contained in:
Niklas Haas
2023-02-13 21:53:41 +01:00
committed by Niklas Haas
parent 2e0bdbfe9c
commit 4f84d91df2
+1
View File
@@ -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,