1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-31 19:52:16 +00:00

libplacebo: fix compatibility with libplacebo >= 5

libplacebo 4.157 [1] rename context.h to log.h, and left a compatibility
header. In 5.x, this header has been removed.

Since we require libplacebo 4.157 to build mpv, we can just use log.h to
fix compatibility with 5.x.

[1]: 2459200a13

Signed-off-by: Coelacanthus <coelacanthus@outlook.com>
This commit is contained in:
Coelacanthus 2022-07-16 14:20:18 +08:00 committed by Jan Ekström
parent 59ee10e3c7
commit 70fa9502f3

View File

@ -5,7 +5,7 @@
#include "video/csputils.h"
#include <libplacebo/common.h>
#include <libplacebo/context.h>
#include <libplacebo/log.h>
#include <libplacebo/colorspace.h>
pl_log mppl_log_create(struct mp_log *log);