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:
parent
acac614032
commit
71ce0cb71f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user