From 71ce0cb71f15f9e6ff7ed08b0b1637637c838451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Sat, 7 Oct 2023 15:10:54 +0200 Subject: mp_image: don't copy crop value from opaque_ref It is already set above. Fixes: #12577, #12587 --- video/mp_image.c | 1 - 1 file changed, 1 deletion(-) diff --git a/video/mp_image.c b/video/mp_image.c index eb7daf7925..c3a6b50a78 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -1049,7 +1049,6 @@ struct mp_image *mp_image_from_av_frame(struct AVFrame *src) // Might be incorrect if colorspace changes. dst->params.color.light = p->color.light; dst->params.alpha = p->alpha; - dst->params.crop = p->crop; } sd = av_frame_get_side_data(src, AV_FRAME_DATA_DISPLAYMATRIX); -- cgit v1.2.3