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]: https://github.com/haasn/libplacebo/commit/2459200a133d1a0f36f092a32a2d5d443cfbee55

Signed-off-by: Coelacanthus <coelacanthus@outlook.com>
This commit is contained in:
Coelacanthus
2022-07-16 13:06:21 +03:00
committed by Jan Ekström
parent 59ee10e3c7
commit 70fa9502f3
+1 -1
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);