diff --git a/softhdcuvid.cpp b/softhdcuvid.cpp index d2ba437..c5ac403 100644 --- a/softhdcuvid.cpp +++ b/softhdcuvid.cpp @@ -53,6 +53,9 @@ extern "C" { #ifdef PLACEBO #include extern void ToggleLUT(); +#if PL_API_VER >= 338 +#define pl_named_filters pl_filter_presets +#endif #endif } diff --git a/video.c b/video.c index b0b4bc9..d0b6a43 100644 --- a/video.c +++ b/video.c @@ -192,6 +192,9 @@ typedef void *EGLImageKHR; #include #endif #include +#if PL_API_VER >= 338 +#define pl_named_filters pl_filter_presets +#endif #endif #include