summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
Diffstat (limited to 'video/out')
-rw-r--r--video/out/vo_gpu_next.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c
index 8616d4f2cc..0a93f6329c 100644
--- a/video/out/vo_gpu_next.c
+++ b/video/out/vo_gpu_next.c
@@ -1134,8 +1134,8 @@ static void draw_frame(struct vo *vo, struct vo_frame *frame)
p->target_params = (struct mp_image_params){
.imgfmt_name = swframe.fbo->params.format
? swframe.fbo->params.format->name : NULL,
- .w = mp_rect_w(target.crop),
- .h = mp_rect_h(target.crop),
+ .w = mp_rect_w(p->dst),
+ .h = mp_rect_h(p->dst),
.color = target.color,
.repr = target.repr,
.rotate = target.rotation,