Skip to content
Snippets Groups Projects
Commit 65ea8d19 authored by Niklas Haas's avatar Niklas Haas Committed by Jean-Baptiste Kempf
Browse files

vout_opengl: add compatibility alias for libplacebo v5

This fixes compilation for now, albeit with many deprecation warnings.
It will probably break again whenever libplacebo v6 drops these
deprecated fields as well, but hopefully VLC v4 will be released by
then.

Fixes: #27624
parent 4585d552
No related branches found
No related tags found
2 merge requests!3533Backport MR 3236 to 3.0.x,!3027vout_opengl: add compatibility alias for libplacebo v5
Pipeline #301631 passed with stages
in 24 minutes and 34 seconds
......@@ -34,6 +34,11 @@
#ifdef HAVE_LIBPLACEBO
#include <libplacebo/shaders/colorspace.h>
# if PL_MAJOR_VER >= 5
# define pl_context_create pl_log_create
# define pl_context_destroy pl_log_destroy
# endif
#define RENDER_INTENT_TEXT "Rendering intent for color conversion"
#define RENDER_INTENT_LONGTEXT "The algorithm used to convert between color spaces"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment