Changeset View
Changeset View
Standalone View
Standalone View
files/0001-Update-to-use-modern-libplacebo-API.patch
- This file was added.
| From 423734cb1795d67b21dff68cf808317e285f6b4f Mon Sep 17 00:00:00 2001 | |||||
| From: Alexander Vorobyev <avorobyev@protonmail.com> | |||||
| Date: Sat, 22 Oct 2022 13:22:29 +0300 | |||||
| Subject: Update to use modern libplacebo API | |||||
| --- | |||||
| modules/video_output/opengl/vout_helper.c | 4 ++-- | |||||
| 1 file changed, 2 insertions(+), 2 deletions(-) | |||||
| diff --git a/modules/video_output/opengl/vout_helper.c b/modules/video_output/opengl/vout_helper.c | |||||
| index 13d65e04c8..0d09306004 100644 | |||||
| --- a/modules/video_output/opengl/vout_helper.c | |||||
| +++ b/modules/video_output/opengl/vout_helper.c | |||||
| @@ -571,7 +571,7 @@ opengl_deinit_program(vout_display_opengl_t *vgl, struct prgm *prgm) | |||||
| #ifdef HAVE_LIBPLACEBO | |||||
| FREENULL(tc->uloc.pl_vars); | |||||
| if (tc->pl_ctx) | |||||
| - pl_context_destroy(&tc->pl_ctx); | |||||
| + pl_log_destroy(&tc->pl_ctx); | |||||
| #endif | |||||
| vlc_object_release(tc); | |||||
| @@ -622,7 +622,7 @@ opengl_init_program(vout_display_opengl_t *vgl, struct prgm *prgm, | |||||
| // create the main libplacebo context | |||||
| if (!subpics) | |||||
| { | |||||
| - tc->pl_ctx = pl_context_create(PL_API_VER, &(struct pl_context_params) { | |||||
| + tc->pl_ctx = pl_log_create(PL_API_VER, &(struct pl_log_params) { | |||||
| .log_cb = log_cb, | |||||
| .log_priv = tc, | |||||
| .log_level = PL_LOG_INFO, | |||||
| -- | |||||
| 2.35.5 | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.