1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-01 12:42:04 +00:00

mp_image: don't copy crop value from opaque_ref

It is already set above.

Fixes: #12577, #12587
This commit is contained in:
Kacper Michajłow 2023-10-07 15:10:54 +02:00 committed by Dudemanguy
parent acac614032
commit 71ce0cb71f

View File

@ -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);