Commit bef151d1 authored by Niklas Haas's avatar Niklas Haas

vf_libplacebo: warn on extra_opts + too old libplacebo

Instead of silently ignoring this option as before.
parent a469186b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment