mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
mp_image: remove unneeded PL_HAVE_LIBDOVI check
This function is always available, if libplacebo is compiled without libdovi it is no-op.
This commit is contained in:
parent
e56054bc40
commit
072d0ac836
@ -1116,10 +1116,8 @@ struct mp_image *mp_image_from_av_frame(struct AVFrame *src)
|
||||
|
||||
sd = av_frame_get_side_data(src, AV_FRAME_DATA_DOVI_RPU_BUFFER);
|
||||
if (sd) {
|
||||
#ifdef PL_HAVE_LIBDOVI
|
||||
pl_hdr_metadata_from_dovi_rpu(&dst->params.color.hdr, sd->buf->data,
|
||||
sd->buf->size);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user