[FFmpeg-devel] [PATCH] lavfi/vf_libplacebo: update deprecated option name

Niklas Haas ffmpeg at haasn.xyz
Wed Dec 15 22:47:47 EET 2021


From: Niklas Haas <git at haasn.dev>

This was renamed upstream quite a while ago (v3.112.0). Keep the old
option name in libavfilter for backwards compatibility.

Signed-off-by: Niklas Haas <git at haasn.dev>
---
 libavfilter/vf_libplacebo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_libplacebo.c b/libavfilter/vf_libplacebo.c
index 7ece9d829e..515fd44d24 100644
--- a/libavfilter/vf_libplacebo.c
+++ b/libavfilter/vf_libplacebo.c
@@ -357,7 +357,7 @@ static int process_frames(AVFilterContext *avctx, AVFrame *out, AVFrame *in)
         .polar_cutoff = s->polar_cutoff,
         .disable_linear_scaling = s->disable_linear,
         .disable_builtin_scalers = s->disable_builtin,
-        .force_3dlut = s->force_3dlut,
+        .force_icc_lut = s->force_3dlut,
         .force_dither = s->force_dither,
         .disable_fbos = s->disable_fbos,
     };
-- 
2.34.1



More information about the ffmpeg-devel mailing list