[FFmpeg-cvslog] vf_libplacebo: warn on extra_opts + too old libplacebo

Niklas Haas git at videolan.org
Sun Sep 3 14:41:18 EEST 2023


ffmpeg | branch: master | Niklas Haas <git at haasn.dev> | Sun Sep  3 13:40:27 2023 +0200| [bef151d1cee95f741d1a258bfb3c57c2cd8368eb] | committer: Niklas Haas

vf_libplacebo: warn on extra_opts + too old libplacebo

Instead of silently ignoring this option as before.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bef151d1cee95f741d1a258bfb3c57c2cd8368eb
---

 libavfilter/vf_libplacebo.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavfilter/vf_libplacebo.c b/libavfilter/vf_libplacebo.c
index 942c321042..8534945ba6 100644
--- a/libavfilter/vf_libplacebo.c
+++ b/libavfilter/vf_libplacebo.c
@@ -515,6 +515,10 @@ static int update_settings(AVFilterContext *ctx)
             goto fail;
         }
     }
+#else
+    (void) e;
+    if (av_dict_count(s->extra_opts) > 0)
+        av_log(s, AV_LOG_WARNING, "extra_opts requires libplacebo >= 6.309!\n");
 #endif
 
     return 0;



More information about the ffmpeg-cvslog mailing list