mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 14:50:07 +00:00
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:
parent
2e0bdbfe9c
commit
4f84d91df2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user