vf_libplacebo: warn on extra_opts + too old libplacebo

Instead of silently ignoring this option as before.
This commit is contained in:
Niklas Haas 2023-09-03 13:40:27 +02:00
parent a469186b8a
commit bef151d1ce
1 changed files with 4 additions and 0 deletions

View File

@ -515,6 +515,10 @@ static int update_settings(AVFilterContext *ctx)
goto fail; 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 #endif
return 0; return 0;