diff options
author | Niklas Haas <git@haasn.dev> | 2023-09-03 13:40:27 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2023-09-03 13:40:27 +0200 |
commit | bef151d1cee95f741d1a258bfb3c57c2cd8368eb (patch) | |
tree | ff4e941028183e8a7ed65eb5c8fca04bc5b3eea4 /libavfilter | |
parent | a469186b8a841293d1d1ca7cad95fb5043e901dc (diff) | |
download | ffmpeg-bef151d1cee95f741d1a258bfb3c57c2cd8368eb.tar.gz |
vf_libplacebo: warn on extra_opts + too old libplacebo
Instead of silently ignoring this option as before.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_libplacebo.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |